Breaking: #98308 - Legacy HTML attributes border and longdesc removed from frontend rendering¶
IMAGE content object previously supported
to be set to the
<img> tag which was composed. The appropriate settings
have been removed.
The TypoScript property
config.disableImgBorderAttr has been removed
\TYPO3\CMS\Core\Imaging\GraphicalFunctions PHP class, which
<img> tags via the
imgTag() method, has been
adapted as the method is removed.
Using the TypoScript settings will have no effect anymore.
Calling the method
will result in a fatal PHP error.
TYPO3 installation using TypoScript
IMAGE cObject explicitly
Instead of border attribute, styling via CSS should be used.
Also use alternative markup for accessibility with the "title" attribute instead of "longdesc".
See https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/longDesc for examples on how to migrate.
For the removed
method, it is recommended for PHP developers to build the HTML code themselves.