Issue Bug Resolved

#108487Unclear alt/title attributes on image thumbnails in content element references for screen reader users

Christian Jung 12/15/25, 13:05 updated 10/23/26, 18:00

Description

In the TYPO3 backend, image thumbnails in content elements use a title attribute (tooltip) and an unhelpful alternative text. This confuses editors and harms accessibility (screen readers). Proposed change: remove the title attribute and provide a short, meaningful alternative text based on state, e.g.:

“Expand file-[ID], [file title]”
“Collapse file-[ID], [file title]”

Reproduction Steps

In the backend, create/edit a content element with images (e.g., “Text & Media”).
Switch to the “Images” tab and add an image.
Hover the thumbnail (tooltip appears) and/or check with a screen reader.
Inspect the DOM: thumbnail has title; alt is not meaningful.

Impact

Accessibility: Screen readers announce confusing or redundant information.
Usability: Tooltips are not helpful; unclear state description (open/close).
Consistency: Inconsistent use of alt/title in the backend.

Recommended Solution

Remove the title attribute from thumbnail elements in the backend.
Set a concise, meaningful alt text dynamically (based on UI state), pattern:
“Expand file-[ID], [file title]” or “Collapse file-[ID], [file title]”.
Optionally add aria-label for interactive controls.
Ensure no frontend output is affected.

Definition of Done

No thumbnail title attributes in the relevant backend image field views.
alt attribute contains a short, precise state description incl. file ID and title.
Screen reader output is clear and non-redundant.
Manual tests in current browsers; no regressions in other backend lists/forms.

Acceptance Criteria

No tooltip from title appears on hover.
In the DOM, title is removed; alt follows the described pattern according to state (open/close).
Screen readers announce the alt text correctly; no duplicate/misleading info.
Image selection/interaction functionality remains unchanged.

References

Reviews 3

Files 1

History 112

  1. Christian Rath-Ulrich commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-23T18:00:19+00:00" > 10/23/26, 18:00 </span>

    Applied in changeset commit:d1ed77c3839780e6d9d121f813c867aafd668219.