Issue Task Closed

#104420core:icon viewhelper does not allow an alt-attribute

Philipp Kuhlmay 07/18/24, 10:05 updated 04/13/25, 12:07

Description

Hi, currently, only a title-attribute can be used with the core:icon viewhelper. This was introduced in https://forge.typo3.org/issues/102314

Would it make sense, to also allow alt-attribute?

In our installation, we wanted to use the core:icon viewhelper to use a registered Icon in the frontend. We also needed to use a title and alt-attribute. Since it was a v11 installation, both were not allowed. In v13, the title-attribute is allowed, but not the alt-attribute.

Reviews 1

History 411

  1. Philipp Kuhlmay changed subject core:icon viewhelper does not allow an alt-tag core:icon viewhelper does not allow an alt-attribute description <span data-processor="relativetime" data-value="2024-07-19T07:31:58+00:00" > 07/19/24, 07:31 </span>

  2. Benni Mack commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2025-04-13T12:07:31+00:00" > 04/13/25, 12:07 </span>

    closing this ticket for the time being in coordinatation with Philipp, can be re-opened later again.