Merge pull request #6514 from thedrow/search-page-accessability

Add a label to search input for accessability purposes in search.html
This commit is contained in:
Takeshi KOMIYA 2019-06-29 00:06:42 +09:00 committed by GitHub
commit 97c7b745a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
containing fewer words won't appear in the result list.{% endtrans %} containing fewer words won't appear in the result list.{% endtrans %}
</p> </p>
<form action="" method="get"> <form action="" method="get">
<input type="text" name="q" value="" /> <input type="text" name="q" aria-labelledby="search-documentation" value="" />
<input type="submit" value="{{ _('search') }}" /> <input type="submit" value="{{ _('search') }}" />
<span id="search-progress" style="padding-left: 10px"></span> <span id="search-progress" style="padding-left: 10px"></span>
</form> </form>