mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-25 06:47:16 +00:00
1df223abfa
* Use label instead of h3 for menu headings * Rename portals to portlets according to core * Replace label-class with heading-class * Use has-label to hide labels instead of adding screen reader class
16 lines
451 B
Plaintext
16 lines
451 B
Plaintext
{{!
|
|
|
|
}}
|
|
<nav id="{{id}}"{{#class}} class="{{.}}"{{/class}} {{{html-tooltip}}} {{{html-userlangattributes}}}>
|
|
{{#has-label}}
|
|
<label
|
|
id="{{id}}-label"
|
|
{{#aria-label}} aria-label="{{.}}"{{/aria-label}}
|
|
class="citizen-menu__heading{{#heading-class}} {{.}}{{/heading-class}}">
|
|
<span class="citizen-menu__heading-label">{{label}}</span>
|
|
</label>
|
|
{{/has-label}}
|
|
{{{html-before-portal}}}
|
|
<ul>{{{html-items}}}</ul>
|
|
{{{html-after-portal}}}
|
|
</nav> |