Skip to content
Snippets Groups Projects
Commit 8a6abf58 authored by Michael Telgkamp's avatar Michael Telgkamp Committed by Georg Ringer
Browse files

[BUGFIX] Add empty alt attribute to decorative images

Decorative images should have an empty alt attribute to hide
them from screenreaders.
See https://www.w3.org/WAI/WCAG21/Techniques/failures/F38

This patch adds the attribute to the images generated by the
icon provider classes using <img> tags.

Resolves: #89653
Releases: master
Change-Id: Ie3186902db3d479b6f2e464fbb578425ced43898
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62304


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 5d00a3bd
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment