Project

General

Profile

Actions

Bug #91296

closed

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

Added by Jonas Eberle over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2020-05-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
accessibility
Complexity:
Is Regression:
Sprint Focus:

Description

The ViewHelper f:core.icon https://docs.typo3.org/other/typo3/view-helper-reference/master/en-us/typo3/core/latest/Icon.html
outputs <img> 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.

Actions

Also available in: Atom PDF