[BUGFIX] Have record icons with human readable title
Add record titles to the record icon alt text. To make the alt text for record icons helpful, the title and type of the record is now added to the existing id=x. To implement this also for the pagetree, the method BackendUtility::titleAttribForPages() has got a new parameter to return the value unescaped. The JsonResponse in the TreeController already escapes the data and additionally the TemplateResult from lit also does escaping. Additionally BackendUtility::getRecordIconAltText() received a new parameter to make it possible to not escape string values. This is necessary to prevent values to get double encoded when used in the fluid context. Resolves: #102472 Releases: main, 12.4 Change-Id: I2476baccc4caf1ffaf27bbb3d5681cd53aea6052 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81883 Reviewed-by:Jasmina Ließmann <minapokhalo+typo3@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
Jasmina Ließmann <minapokhalo+typo3@gmail.com> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev>
Showing
- typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php 2 additions, 2 deletions...asses/Controller/ContentElement/MoveElementController.php
- typo3/sysext/backend/Classes/Controller/Page/MovePageController.php 2 additions, 2 deletions...xt/backend/Classes/Controller/Page/MovePageController.php
- typo3/sysext/backend/Classes/Form/Container/FileReferenceContainer.php 2 additions, 2 deletions...backend/Classes/Form/Container/FileReferenceContainer.php
- typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php 1 addition, 1 deletion.../backend/Classes/Form/Container/InlineRecordContainer.php
- typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php 1 addition, 1 deletion.../sysext/backend/Classes/RecordList/DatabaseRecordList.php
- typo3/sysext/backend/Classes/Template/Components/MetaInformation.php 1 addition, 1 deletion...t/backend/Classes/Template/Components/MetaInformation.php
- typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Tree/View/PagePositionMap.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 67 additions, 37 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php 1 addition, 1 deletion...ackend/Classes/View/BackendLayout/Grid/GridColumnItem.php
- typo3/sysext/backend/Resources/Private/Templates/ContentElement/MoveElement.html 2 additions, 2 deletions...sources/Private/Templates/ContentElement/MoveElement.html
- typo3/sysext/backend/Resources/Private/Templates/Page/MovePage.html 1 addition, 1 deletion...xt/backend/Resources/Private/Templates/Page/MovePage.html
Please register or sign in to comment