Skip to content

Commit

Permalink
Accessibility/search bar label (#208)
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
  • Loading branch information
eviau-sat and pradyunsg authored Jul 30, 2021
1 parent 11dc2ee commit 7835202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/furo/theme/furo/sidebar/search.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form class="sidebar-search-container" method="get" action="{{ pathto('search') }}">
<input class="sidebar-search" placeholder={{ _("Search") }} name="q">
<form class="sidebar-search-container" method="get" action="{{ pathto('search') }}" role="search">
<input class="sidebar-search" placeholder={{ _("Search") }} name="q" aria-label="{{ _("Search" )}}">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
</form>
Expand Down

0 comments on commit 7835202

Please sign in to comment.