#108465Missing accessible text alternative for language icon
Description
Description
The language icon is rendered without an accessible text alternative. The parent span has aria-hidden=“true”, causing screen readers to ignore the icon (and any alternative text). To ensure accessibility, provide a meaningful alternative text per language (DE, EN, FR) and remove aria-hidden where the icon should be announced.
Steps to Reproduce
1. Open a translated page with some Elements.
2. Turn on a screen reader (e.g., NVDA/JAWS/VoiceOver).
3. Navigate to the language icon.
4. Observe: No alternative text is announced; element may be hidden.
Impact
- Screen reader users can’t identify the current language/language selection.
- WCAG violation, legal and UX risks.
Definition of Done
- Each language icon has a correct alt text in its respective language (DE, EN).
- aria-hidden=“true” removed from the parent span (if the icon/alt should be perceivable).
- Screen reader announces the information correctly (tested with at least 1 screen reader + 1 browser).
- No regressions in layout/functionality.
Recommended Solution
- Use an img with localized alternative text attribute (DE,EN)
- Remove aria-hidden=“true” from parent span element
Reviews 3
Related issues 1
Files 1
History 310
-
Georg Ringer changed Related to #108491 12/16/25, 21:01
-
Gerrit Code Review pushed patch set 1 for main to change 93883 status
NewUnder Review 04/29/26, 15:15 -
Gerrit Code Review pushed patch set 2 for main to change 93883 04/29/26, 15:17
-
Gerrit Code Review pushed patch set 3 for main to change 93883 05/08/26, 14:41
-
Gerrit Code Review pushed patch set 4 for main to change 93883 06/22/26, 08:59
-
Gerrit Code Review pushed patch set 5 for main to change 93883 06/22/26, 09:03
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 94754 07/10/26, 13:35
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 94755 07/10/26, 13:38
-
Christian Rath-Ulrich commented and changed status
Under ReviewResolved done0 %100 % 07/10/26, 18:30 -
Benni Mack changed status
ResolvedClosed 08/11/26, 08:46
Applied in changeset commit:1ebf7a30051bc4f80743d95e4f0880efa6d3663e.