Page MenuHomePhabricator

Remove alt parameter values for decorative images
Closed, ResolvedPublic

Description

An empty alt="" attribute is sufficient to make screenreader software skip those purely decorative images. role="presentation" is not needed.
See https://www.w3.org/WAI/tutorials/images/decorative/

Event Timeline

Aklapper created this task.

Change 784641 had a related patch set uploaded (by Aklapper; author: Aklapper):

[wikimedia/developer-portal@main] Accessibility: Remove alt text from decorative images

https://gerrit.wikimedia.org/r/784641

Change 784641 merged by jenkins-bot:

[wikimedia/developer-portal@main] Accessibility: Remove alt text from decorative images

https://gerrit.wikimedia.org/r/784641

apaskulin added a subscriber: apaskulin.

Verified in production. Thanks!