Image alt text uses title field instead of dedicated alternative text

9 views
Skip to first unread message

Jelle Sebreghts

unread,
4:19 AM (19 hours ago) 4:19 AM
to ResourceSpace

Images in ResourceSpace are rendered with alt attributes, which is positive from an accessibility perspective. However, the alt text is currently populated using the image's Title field rather than a dedicated alternative text field.


The image's alt attribute would preferably be populated from a dedicated accessibility-focused Alternative Text field, or another configurable metadata field specifically intended for screen reader descriptions. The Title field should not automatically be used as alternative text, as titles are often not descriptive enough to convey the image's content or purpose.

The current implementation reduces accessibility for users relying on screen readers, may result in unhelpful or repetitive alternative text and makes it difficult for content editors to provide meaningful image descriptions that meet accessibility requirements (e.g., WCAG).

Suggested Solution
Introduce a dedicated Alternative Text metadata field and use that value for the rendered alt attribute. If no alternative text is provided, consider applying a configurable fallback strategy (e.g. only then fall back to the title) or leaving the attribute empty for decorative images, in line with accessibility best practices.

Reply all
Reply to author
Forward
0 new messages