mediawiki-skins-Citizen/templates/Drawer__button.mustache
alistair3149 08ddb60bb6
feat(core): remove tabindex from checkbox label button
Elements with `aria-hidden` tag should not have a tabindex.
2022-05-18 17:48:38 -04:00

18 lines
525 B
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
}}
<div class="citizen-drawer__button citizen-header__button">
<div class="citizen-drawer__buttonIcon citizen-header__buttonIcon">
<div></div>
<div></div>
<div></div>
</div>
<label
id="citizen-drawer__buttonCheckbox"
class="mw-checkbox-hack-button citizen-header__buttonCheckbox"
for="citizen-drawer__checkbox"
title="{{msg-citizen-drawer-toggle}}"
aria-hidden="true">
<span>{{msg-citizen-drawer-toggle}}</span>
</label>
</div>