[TASK] Add title argument to IconViewhelper
Allow a title argument to be set in the IconViewHelper. The give title will be passed to the `Icon` object and will be rendered as title attribute in the icon HTML markup, enhancing accessibility. Resolves: #102314 Releases: main, 12.4 Change-Id: Ifbaf5961cda843054c7933025617d3d18a4887f9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81679 Reviewed-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Jochen Roth <rothjochen@gmail.com> Tested-by:
Jochen Roth <rothjochen@gmail.com>
Showing
- typo3/sysext/core/Classes/ViewHelpers/IconViewHelper.php 11 additions, 6 deletionstypo3/sysext/core/Classes/ViewHelpers/IconViewHelper.php
- typo3/sysext/core/Documentation/Changelog/12.4.x/Important-102314-TitleCoreIconViewhelper.rst 41 additions, 0 deletions...gelog/12.4.x/Important-102314-TitleCoreIconViewhelper.rst
- typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php 19 additions, 0 deletions.../core/Tests/Functional/ViewHelpers/IconViewHelperTest.php
Please register or sign in to comment