summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl27
1 files changed, 13 insertions, 14 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 9baecbb53..81db1910b 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -246,16 +246,20 @@
<header id="header" role="banner">
<div class="inner">
- <h1 id="header-title" class="title"><a href="./" title="Go to home page">[% terms.BugzillaTitle %]</a></h1>
- <form role="search" id="header-search" class="quicksearch quicksearch_check_empty" action="buglist.cgi">
- <div class="searchbox-outer">
- <input role="searchbox" id="quicksearch_top" name="quicksearch"
+ <h1 id="header-title" class="title"><a href="./" title="Go to home page">[% terms.Bugzilla %]</a></h1>
+ <form role="search" id="header-search" class="quicksearch" action="buglist.cgi">
+ <section class="searchbox-outer dropdown" role="combobox" aria-expanded="false" aria-haspopup="listbox"
+ aria-owns="header-search-dropdown">
+ <h2>Quick Search</h2>
+ <input role="searchbox" id="quicksearch_top" class="dropdown-button" name="quicksearch" autocomplete="off"
value="[% quicksearch FILTER html %]" placeholder="Search [% terms.Bugs %]"
- title="Search [% terms.bugs %] by keywords">
+ title="Enter a [% terms.bug %] number or some search terms" aria-controls="header-search-dropdown"
+ aria-label="Quick Search">
<button type="submit" id="find_top" aria-label="Submit">
<span class="icon" aria-hidden="true"></span>
</button>
- </div>
+ [% PROCESS "global/header-search-dropdown.html.tmpl" %]
+ </section>
</form>
<nav id="header-nav">
<ul class="links">
@@ -286,13 +290,7 @@
aria-label="More tools…" aria-expanded="false" aria-haspopup="true" aria-controls="header-tools-menu">
<span class="icon" aria-hidden="true"></span>
</button>
- <ul class="dropdown-content" id="header-tools-menu" role="menu" style="display:none;">
- [% IF user.showmybugslink %]
- [% filtered_username = user.login FILTER uri %]
- <li role="presentation">
- <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]" role="menuitem" tabindex="-1">My [% terms.Bugs %]</a>
- </li>
- [% END %]
+ <ul class="dropdown-content left" id="header-tools-menu" role="menu" style="display:none;">
[% IF user.id %]
<li role="presentation">
<a href="request.cgi?requester=[% user.login FILTER uri %]&amp;requestee=[% user.login FILTER uri %]&amp;do_union=1&amp;group=type&amp;action=queue" role="menuitem" tabindex="-1">My Requests</a>
@@ -330,7 +328,7 @@
<span class="icon" aria-hidden="true"></span>
[% END %]
</button>
- <ul class="dropdown-content" id="header-account-menu" role="menu" style="display:none;">
+ <ul class="dropdown-content left" id="header-account-menu" role="menu" style="display:none;">
<li role="presentation">
<div href="user_profile" class="account-label">
<div class="name">[% user.name FILTER html %]</div>
@@ -371,6 +369,7 @@
[% END %]
</ul>
[% END %]
+ [% Hook.process('external-links') %]
</div>
</header> [%# header %]