Actions
Bug #17770
closedGMENU property disableAltText clears the content of alt param, but does not remove it
Start date:
2007-11-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you want to use your own alt parameter, you need to set it with imgParams and set disableAltText to 1.
Unfortunatly the alt is renderded two times, because it is only cleared, but not removed completly:
<img .... alt="" alt="German" />
Simple Setup:
temp.langMenu.1 = GMENU
temp.langMenu.1.disableAltText = 1
...
temp.langMenu.1.NO.imgParams = alt="German"
In TYPO3 4.1.3 config.xhtml_cleaning = all fixes this issue, but nevertheless disableAltText = 1 behaviour is wrong.
Solution: Remove the whole alt param and not only clear it's value if disableAltText is set.
(issue imported from #M6682)
Files
Actions