HollaHoop

Theme toggle aria-label should name the next theme

TweakShipped· by Elsama· 1 month ago

UX audit finding

ThemeToggle exposes aria-label="System theme. Click for next." which doesn't tell screen reader users what will happen. WCAG 2.2: control purpose should be clear.

Fix: Use Switch to dark theme / Switch to system theme / Switch to light theme based on the next state in the cycle.

Comments (0)

No comments yet.

Join the discussion

Sign in to leave a comment on this thread.

HollahoopGet yours