forked from deepStateMirrors/tabi
♿️ feat(a11y): add keyboard accessibility to theme toggler
This commit is contained in:
parent
b6a89e6370
commit
dce495e71d
3 changed files with 18 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
<div
|
||||
title="{{ title_label }}"
|
||||
class="theme-switcher"
|
||||
tabindex="0"
|
||||
role="button"
|
||||
aria-label="{{ aria_label }}"
|
||||
aria-pressed="false">
|
||||
|
@ -21,6 +22,7 @@
|
|||
<div
|
||||
title="{{ reset_str }}"
|
||||
class="theme-resetter"
|
||||
tabindex="0"
|
||||
role="button"
|
||||
aria-hidden="true"
|
||||
aria-label="{{ reset_str }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue