]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1874564: QuickSearch inputs need labels (#131)
authorDave Miller <justdave@bugzilla.org>
Tue, 14 May 2024 06:38:11 +0000 (02:38 -0400)
committerGitHub <noreply@github.com>
Tue, 14 May 2024 06:38:11 +0000 (02:38 -0400)
template/en/default/global/header.html.tmpl
template/en/default/index.html.tmpl
template/en/default/pages/quicksearch.html.tmpl

index 3d1bf4ba8410d678534feb85fe32804d8231d74f..6c70db23b7d21e238db2b89d8426befe1de1b053 100644 (file)
         <input role="searchbox" id="quicksearch_top" class="dropdown-button" name="quicksearch" autocomplete="off"
                value="[% quicksearch FILTER html %]" placeholder="Search [% terms.Bugs %]"
                title="Enter a [% terms.bug %] number or some search terms" aria-controls="header-search-dropdown"
-               aria-label="Quick Search">
+               aria-labelledby="header-search-label">
         [% PROCESS "global/header-search-dropdown.html.tmpl" %]
       </section>
     </form>
index e6a8032f03fcea2cbcfed5c7888748db1bc6eb53..c4f0af2d4f2e43d95ff57d555a1d6bd651c80f81 100644 (file)
@@ -86,6 +86,7 @@
           <div>
             <input id="quicksearch_main" type="text" name="quicksearch" autofocus
               placeholder="Enter [% terms.abug %] number or some search terms"
+              aria-labelledby="find"
               title="Quick Search">
             <input id="find" type="submit" value="Quick Search">
             <ul class="additional_links" id="quicksearch_links">
index 05643ba44a71ebfa16ce8c0eec210f51d7a56032..c2040fdf0e59dc6b589b60e27137454e52dada0a 100644 (file)
@@ -32,7 +32,7 @@
 
 <form name="f" action="[% basepath FILTER none %]buglist.cgi" method="get"
       class='quicksearch_check_empty' data-no-csrf>
-  <input type="text" size="40" name="quicksearch">
+  <input type="text" size="40" name="quicksearch" aria-labelledby="find">
   <input type="submit" value="Search" id="find">
 </form>