diff options
| author | eltrac <hi@eltr.ac> | 2026-02-14 15:54:38 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-02-14 15:54:38 +0800 |
| commit | e2736f634567921108d8f8a0ea40812a61c3f571 (patch) | |
| tree | 28a780d69b9758a107d31f15db1f5265a21fc571 /layouts | |
| parent | 758eacbc6c9a1dcb2c9ab08c233c8b7054d6e52a (diff) | |
perf(accessibility): add label for select
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_partials/header/other-navigation.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_partials/header/other-navigation.html b/layouts/_partials/header/other-navigation.html index db37477d..4be0dba0 100644 --- a/layouts/_partials/header/other-navigation.html +++ b/layouts/_partials/header/other-navigation.html @@ -2,6 +2,7 @@ <div class="flex gap-2 pr-2"> <!-- theme switch --> + <label for="theme-select" class="hidden">colorscheme</label> <select id="theme-select" class="bg-neutral/10 border-1 border-[var(--text-color)] border-solid rd text-[var(--text-color)] font-serif text-size-[0.5rem] font-extrabold"> {{ $switches := slice "auto" "light" "dark" }} |
