Issue Bug Resolved

#108833Missing text alternative for red info icon in tab headers

Christian Jung 02/03/26, 07:22 updated 10/22/26, 18:45

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

Files 1

History 38

  1. Georg Ringer commented and changed status Under Review Resolved done 0 % 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.