summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2022-10-04 11:03:24 +0200
committerache <ache@ache.one>2022-10-04 11:03:24 +0200
commit7e3cb5ff8b2878e40994461ee59ad2eafc748a60 (patch)
treef3ac6b367ac136b674c40475264adb1ff394512c
parentDelete notes (diff)
Improove name of hid button
-rw-r--r--src/templates/hid.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/hid.tmpl b/src/templates/hid.tmpl
index fe83407..242ed5f 100644
--- a/src/templates/hid.tmpl
+++ b/src/templates/hid.tmpl
@@ -1 +1 @@
-<div id="hid"><div role="button" class="sun">{{{svg.sun}}}</div><div role="button" class="moon">{{{svg.moon}}}</div></div>
+<div id="hid"><div role=button tabindex=0 class=sun aria-label="light mode">{{{svg.sun}}}</div><div role=button tabindex=0 class=moon aria-label="dark mode">{{{svg.moon}}}</div></div>