diff --git a/typo3/sysext/filelist/Classes/FileList.php b/typo3/sysext/filelist/Classes/FileList.php index 29ebd53021b6de808ddaa11682318950bf89fb39..0225494f0066fd8310bad1f60b912f8433c3ead4 100644 --- a/typo3/sysext/filelist/Classes/FileList.php +++ b/typo3/sysext/filelist/Classes/FileList.php @@ -658,7 +658,8 @@ class FileList 'width="' . htmlspecialchars($processedFile->getProperty('width')) . '" ' . 'height="' . htmlspecialchars($processedFile->getProperty('height')) . '" ' . 'title="' . htmlspecialchars($resourceView->getName()) . '" ' . - 'loading="lazy"/>'; + 'loading="lazy" ' . + 'alt="" />'; } /** diff --git a/typo3/sysext/filelist/Resources/Private/Templates/Filelist/Tiles.html b/typo3/sysext/filelist/Resources/Private/Templates/Filelist/Tiles.html index 90a4235972fe1e6b93363ce61a6d19593446f673..196653e16b07c5ce72f52d8cb7c1f97def37cd6c 100644 --- a/typo3/sysext/filelist/Resources/Private/Templates/Filelist/Tiles.html +++ b/typo3/sysext/filelist/Resources/Private/Templates/Filelist/Tiles.html @@ -65,7 +65,7 @@ <f:if condition="{displayThumbs} && {resource.preview}"> <f:then> <span class="resource-tile-image"> - <f:image image="{resource.preview}" maxHeight="115" maxWidth="166" additionalAttributes="{draggable: 'false'}" loading="lazy" /> + <f:image image="{resource.preview}" maxHeight="115" maxWidth="166" additionalAttributes="{draggable: 'false'}" loading="lazy" alt="" /> </span> </f:then> <f:else>