#108833Missing text alternative for red info icon in tab headers
Description
In backend forms, a red “i” icon in tab headers indicates invalid entries. This visual marker lacks a text alternative and is not exposed to screen readers, so users of assistive technologies cannot perceive the tab’s error state.
Steps to Reproduce
- Open a backend module with form tabs (e.g., content element or record).
- Trigger validation errors in one tab (e.g., leave a required field empty).
- Check the tab bar: the red “i” icon appears, but screen readers don’t announce any additional information.
Impact
- Assistive technology users are not informed about invalid entries in the tab.
- Navigation and error fixing are hindered; violates accessibility requirements (WCAG/BITV).
Definition of Done
- The red “i” icon or tab provides a robust, non-visual text alternative clearly describing the error state.
- The visible label remains unchanged (no aria-label overriding).
- The solution is consistently applied across relevant backend views.
- Manual tests with common screen readers (e.g., NVDA, VoiceOver) confirm the announcement.
Recommended Solution
Append a hidden, descriptive label directly in the tab button.
Example Code:
<button role="tab">
General
<span class="visually-hidden">, invalid entries present</span>
</button>
Use a “visually-hidden” class (accessibly hidden) and avoid aria-label, as it would overwrite the visible label.
Add the text dynamically only when the error state is present.
References
- BITV test: visual markers must have a text alternative.
- WCAG 2.1: 1.1.1 Non-text Content, 4.1.2 Name, Role, Value.
- Best practice: hidden semantic text instead of aria-label when a visible label exists.
Acceptance Criteria
- When a tab has an error state, screen readers announce the tab name plus “invalid entries present.”
- No extra text is announced when no errors exist.
- The visible tab label remains exactly as-is.
- Works in at least NVDA (Windows) and VoiceOver (macOS) with current browsers.
Reviews 2
Related issues 1
Files 1
History 38
-
Christian Jung changed attached i-markers.png <span data-processor="relativetime" data-value="2026-02-03T07:33:23+00:00" > 02/03/26, 07:33 </span>
-
Georg Ringer changed Related to #106096 <span data-processor="relativetime" data-value="2026-08-27T17:41:27+00:00" > 08/27/26, 17:41 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 95457 status
NewUnder Review <span data-processor="relativetime" data-value="2026-08-27T17:50:27+00:00" > 08/27/26, 17:50 </span> -
Gerrit Code Review pushed patch set 2 for main to change 95457 <span data-processor="relativetime" data-value="2026-10-10T07:58:40+00:00" > 10/10/26, 07:58 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 95457 <span data-processor="relativetime" data-value="2026-10-22T14:24:16+00:00" > 10/22/26, 14:24 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 95457 <span data-processor="relativetime" data-value="2026-10-22T17:49:18+00:00" > 10/22/26, 17:49 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97025 <span data-processor="relativetime" data-value="2026-10-22T17:53:36+00:00" > 10/22/26, 17:53 </span>
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-22T18:45:15+00:00" > 10/22/26, 18:45 </span>
Applied in changeset commit:302e777b117bd2b6d7c8fca165a7387aecab2bd7.