mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-05 22:32:58 +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
27 lines
818 B
Plaintext
27 lines
818 B
Plaintext
{{!
|
|
@typedef object footerItem
|
|
@prop string id of list item element
|
|
@prop string html of list item
|
|
@prop footerItem[] items
|
|
|
|
@typedef object footerRow
|
|
@prop string className of list element
|
|
@prop string id of list element
|
|
@prop footerItem[] array-items
|
|
|
|
string html-hook-vector-before-footer output of VectorBeforeFooter hook
|
|
string|null html-userlangattributes a string of attribute HTML
|
|
footerRow[] array-footer-rows iterable list of footer rows
|
|
}}
|
|
{{{html-hook-vector-before-footer}}}
|
|
<footer id="footer" class="mw-footer" role="contentinfo" {{{html-userlangattributes}}}>
|
|
{{#array-footer-rows}}
|
|
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
|
|
{{#array-items}}
|
|
<li id="{{id}}">{{{html}}}</li>
|
|
{{/array-items}}
|
|
</ul>
|
|
{{/array-footer-rows}}
|
|
<div style="clear: both;"></div>
|
|
</footer>
|