Skip to content

Commit 9da2acd

Browse files
authored
Bug 1874564: QuickSearch inputs need labels (#131)
1 parent 1351e2c commit 9da2acd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

template/en/default/global/header.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
<input role="searchbox" id="quicksearch_top" class="dropdown-button" name="quicksearch" autocomplete="off"
302302
value="[% quicksearch FILTER html %]" placeholder="Search [% terms.Bugs %]"
303303
title="Enter a [% terms.bug %] number or some search terms" aria-controls="header-search-dropdown"
304-
aria-label="Quick Search">
304+
aria-labelledby="header-search-label">
305305
[% PROCESS "global/header-search-dropdown.html.tmpl" %]
306306
</section>
307307
</form>

template/en/default/index.html.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
<div>
8787
<input id="quicksearch_main" type="text" name="quicksearch" autofocus
8888
placeholder="Enter [% terms.abug %] number or some search terms"
89+
aria-labelledby="find"
8990
title="Quick Search">
9091
<input id="find" type="submit" value="Quick Search">
9192
<ul class="additional_links" id="quicksearch_links">

template/en/default/pages/quicksearch.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<form name="f" action="[% basepath FILTER none %]buglist.cgi" method="get"
3434
class='quicksearch_check_empty' data-no-csrf>
35-
<input type="text" size="40" name="quicksearch">
35+
<input type="text" size="40" name="quicksearch" aria-labelledby="find">
3636
<input type="submit" value="Search" id="find">
3737
</form>
3838

0 commit comments

Comments
 (0)