Issue Bug Closed

#91296f:core.icon does not output alt= on images

Jonas Eberle 05/04/20, 17:12 updated 12/22/20, 11:08

Description

The ViewHelper f:core.icon https://docs.typo3.org/other/typo3/view-helper-reference/master/en-us/typo3/core/latest/Icon.html
outputs tags without any alt=. At the minimum it should output alt=”“ as screenreaders would else read the image filename.

Giving the possiblity to set the alt= would be even better.

Use case would be the search results of indexed_search for example. Giving an alt=“zip file” would be beneficial there.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.