mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 21:15:50 +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
24 lines
689 B
Plaintext
24 lines
689 B
Plaintext
{{!
|
|
Each portal has the following composition:
|
|
string portal-id
|
|
string class of portal
|
|
string html-tooltip
|
|
string msg-label-id
|
|
string? html-userlangattributes
|
|
string msg-label
|
|
string html-portal-content
|
|
string? html-after-portal
|
|
string? html-hook-vector-after-toolbox is deprecated and used by the toolbox portal.
|
|
}}
|
|
<nav class="{{class}}" id="{{portal-id}}" {{{html-tooltip}}} aria-labelledby="{{msg-label-id}}">
|
|
<h3 {{{html-userlangattributes}}} id="{{msg-label-id}}">
|
|
{{msg-label}}
|
|
</h3>
|
|
<div class="body">
|
|
{{{html-portal-content}}}
|
|
{{{html-after-portal}}}
|
|
</div>
|
|
</nav>
|
|
{{! Note: html-hook-vector-after-toolbox is deprecated. }}
|
|
{{{html-hook-vector-after-toolbox}}}
|