Language switch: label and accessible name don't match #5108
Labels
🐞 bug
Something isn't working
📦 components
Related to the @swisspost/design-system-components package
research
This issue requires research before it can be implemented.
Milestone
The language switch contains an
aria-label
that does not match or include the visible text of the control. This is an issue for speech navigation where users dictate the text of the element they see and the assistant tries to find this element by it's accessible name (the aria-label if set). If these don't match, speech input fails to locate the control.More info: https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.
Tasks
Updated Tasks
aria-label
withvisually-hidden
text.name
prop.The text was updated successfully, but these errors were encountered: