♿️ feat(a11y): add keyboard accessibility to theme toggler
This commit is contained in:
@@ -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 }}">
|
||||
|
Reference in New Issue
Block a user