2021-09-21 16:01:33 +00:00
|
|
|
{{!
|
|
|
|
Sticky header is hidden from screen readers because it contains duplicated content
|
|
|
|
that is already accessible to assistive tech via landmark roles, element type, and other navigation methods.
|
|
|
|
The interactive elements in the sticky header should have the `tabindex="-1"` attribute set to ensure
|
|
|
|
the header is also not tab accessible.
|
|
|
|
|
|
|
|
See https://dequeuniversity.com/rules/axe/4.1/aria-hidden-focus and https://phabricator.wikimedia.org/T290201
|
|
|
|
for more context.
|
|
|
|
}}
|
|
|
|
<header id="vector-sticky-header" aria-hidden="true"
|
2022-05-05 20:54:20 +00:00
|
|
|
class="vector-sticky-header">
|
2021-08-30 22:44:00 +00:00
|
|
|
<div class="vector-sticky-header-start">
|
2022-11-04 19:25:19 +00:00
|
|
|
<div class="vector-sticky-header-icon-start mw-ui-icon-flush-left mw-ui-icon-flush-right">
|
2021-09-07 20:22:19 +00:00
|
|
|
{{#data-button-start}}
|
|
|
|
{{>Button}}
|
|
|
|
{{/data-button-start}}
|
2021-08-30 22:44:00 +00:00
|
|
|
</div>
|
2021-09-09 21:40:06 +00:00
|
|
|
{{#data-search}}
|
2021-09-16 19:27:10 +00:00
|
|
|
{{>SearchBox}}
|
2021-09-09 21:40:06 +00:00
|
|
|
{{/data-search}}
|
2021-08-30 22:44:00 +00:00
|
|
|
<div class="vector-sticky-header-context-bar">
|
2023-01-12 22:08:03 +00:00
|
|
|
{{! TOC is moved into this dropdown from the sidebar in stickyHeader.js. }}
|
|
|
|
{{#data-sticky-header-toc-dropdown}}
|
|
|
|
{{>Dropdown/Open}}
|
|
|
|
{{#data-sticky-header-toc-pinnable-container}}
|
|
|
|
{{>PinnableContainer/Unpinned/Open}}
|
|
|
|
{{>PinnableContainer/Close}}
|
|
|
|
{{/data-sticky-header-toc-pinnable-container}}
|
|
|
|
{{>Dropdown/Close}}
|
|
|
|
{{/data-sticky-header-toc-dropdown}}
|
2021-10-18 20:00:47 +00:00
|
|
|
<div class="vector-sticky-header-context-bar-primary" {{{html-user-language-attributes}}}>{{{html-title}}}</div>
|
2021-08-30 22:44:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-16 22:11:17 +00:00
|
|
|
<div class="vector-sticky-header-end{{^is-page-tools-enabled}} mw-ui-icon-flush-right{{/is-page-tools-enabled}}">
|
2021-08-30 22:44:00 +00:00
|
|
|
<div class="vector-sticky-header-icons">
|
2021-09-07 20:22:19 +00:00
|
|
|
{{#data-buttons}}
|
|
|
|
{{>Button}}
|
|
|
|
{{/data-buttons}}
|
2021-08-30 22:44:00 +00:00
|
|
|
</div>
|
2021-09-07 20:22:19 +00:00
|
|
|
{{#data-primary-action}}
|
|
|
|
{{>Button}}
|
|
|
|
{{/data-primary-action}}
|
2021-08-30 22:44:00 +00:00
|
|
|
<div class="vector-sticky-header-icon-end">
|
2021-09-09 02:26:33 +00:00
|
|
|
<div class="vector-user-links">
|
|
|
|
{{! User menu items with unique ids are cloned here from the fixed header in stickyHeader.js. }}
|
|
|
|
</div>
|
2021-08-30 22:44:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|