mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 11:58:44 +00:00
405b52054f
- Adds aria-hidden="true" to the sticky header - Adds tabindex="-1" support to Button.mustache and update sticky header button data - Add tabindex to cloned user menu Bug: T290201 Change-Id: I270db0485f08af310fb40365703da1efc07d3cb9
11 lines
417 B
Plaintext
11 lines
417 B
Plaintext
{{#href}}<a href="{{.}}"{{/href}}
|
|
{{^href}}<button{{/href}}
|
|
{{#id}}id="{{.}}"{{/id}}
|
|
{{#tabindex}}tabindex="{{.}}"{{/tabindex}}
|
|
{{#event}}data-event-name="{{.}}"{{/event}}
|
|
class="mw-ui-button{{#is-quiet}} mw-ui-quiet{{/is-quiet}}{{#icon}} mw-ui-icon mw-ui-icon-element mw-ui-icon-{{.}}{{/icon}} {{class}}">
|
|
{{{html-vector-button-icon}}}
|
|
<span>{{label}}</span>
|
|
{{#href}}</a>{{/href}}
|
|
{{^href}}</button>{{/href}}
|