Opened 2 years ago

Last modified 2 years ago

#34033 closed Bug

Admin light/dark theme switch needs to convey its state for screen reader users — at Initial Version

Reported by: Thibaud Colas Owned by: nobody
Component: contrib.admin Version: dev
Severity: Release blocker Keywords: accessibility, screen reader, translations
Cc: Sarah Abderemane Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

Follow-up to PR #15843 / ticket #33690 – there are two issues with the theme switcher for screen reader users:

  • The label isn’t translated
  • The label doesn’t convey the button’s current state (light, dark, auto)

This is important for partly-sighted screen reader users, who will expect the visual appearance of the button and its screen reader announcement to both convey the current state. Particularly between the user’s "auto" system theme and a forced theme.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top