mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-11 23:46:22 +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
24 lines
795 B
Plaintext
24 lines
795 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|null html-user-language-attributes a string of attribute HTML
|
|
footerRow data-info the info row
|
|
footerRow data-places the places row
|
|
footerRow data-icons the icons row
|
|
}}
|
|
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles and
|
|
to mitigate a VoiceOver bug. }}
|
|
<footer id="footer" class="mw-footer" {{{html-user-language-attributes}}}>
|
|
{{#data-info}}{{>Footer__row}}{{/data-info}}
|
|
{{#data-places}}{{>Footer__row}}{{/data-places}}
|
|
{{#data-icons}}{{>Footer__row}}{{/data-icons}}
|
|
</footer>
|