mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
125af06692
Also remove superflous `role` attributes in modern Vector. Only leaving `role="contentinfo"` on `footer` to address a known VoiceOver bug. And leaving `role="main"` in legacy Vector due to possible old Internet Explorer and screenreader combinations, which we can test specifically for with this separation. Bug: T66477 Bug: T252090 Change-Id: I422ef2a4cf7aa94e5cac4d95efb4b2d2c8c6617d
18 lines
436 B
Plaintext
18 lines
436 B
Plaintext
{{!
|
|
See @typedef MenuDefinition
|
|
}}
|
|
<nav id="{{id}}" class="{{class}}" aria-labelledby="{{label-id}}">
|
|
{{#is-dropdown}}
|
|
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{label-id}}" />
|
|
<h3 id="{{label-id}}">
|
|
<span>{{label}}</span>
|
|
</h3>
|
|
{{/is-dropdown}}
|
|
{{^is-dropdown}}
|
|
<h3 id="{{label-id}}">{{label}}</h3>
|
|
{{/is-dropdown}}
|
|
<ul class="menu" {{{html-userlangattributes}}}>
|
|
{{{html-items}}}
|
|
</ul>
|
|
</nav>
|