mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-21 12:12:44 +00:00
158269333d
Fixes 9 warnings generated by https://validator.w3.org/nu/ - The navigation role is unnecessary for element nav. - The main role is unnecessary for element main. - The contentinfo role is unnecessary for element footer. Bug: T365938 Change-Id: Ibdbe70900f9a85d904252ad8ac26e4bb6e813a1c
20 lines
1,013 B
Plaintext
20 lines
1,013 B
Plaintext
<nav class="vector-user-links{{#is-wide}} vector-user-links-wide{{/is-wide}}" aria-label="{{msg-personaltools}}">
|
|
<div class="vector-user-links-main">
|
|
{{#data-user-links-preferences}}{{>Menu}}{{/data-user-links-preferences}}
|
|
{{#data-user-links-user-page}}{{>Menu}}{{/data-user-links-user-page}}
|
|
<nav class="vector-appearance-landmark" aria-label="{{msg-vector-appearance-label}}">
|
|
{{#data-appearance-dropdown}}{{>Dropdown/Open}}{{/data-appearance-dropdown}}
|
|
{{#data-appearance}}
|
|
{{>PinnableContainer/Unpinned/Open}}
|
|
{{! Use `#vector-appearance-unpinned-container .vector-appearance` to target styles at this element}}
|
|
{{^is-pinned}}{{>Appearance}}{{/is-pinned}}
|
|
{{>PinnableContainer/Close}}
|
|
{{/data-appearance}}
|
|
{{#data-appearance-dropdown}}{{>Dropdown/Close}}{{/data-appearance-dropdown}}
|
|
</nav>
|
|
{{#data-user-links-notifications}}{{>Menu}}{{/data-user-links-notifications}}
|
|
{{#data-user-links-overflow}}{{>Menu}}{{/data-user-links-overflow}}
|
|
</div>
|
|
{{>UserLinksDropdown}}
|
|
</nav>
|