Bug #16129
closedimageLinkWrap missing text between img tag and a tag
0%
Description
According to wcag (web content accesibility group) of the w3c it is not possible to have source like this
<a href='sss'><img src='xxxx' /></a>
It is necessary to have a meaningful text to describe the link or use a "d" and a longdesc url like
<a href='aaa'><img src='xxxx' />Click here for the fullsized picture "massaker on innocent karen children"</a>
<a href='aaa' longdesc='http:www.test.com/descriptionpicture.html><img src='xxxx' />d</a>
have no text at all is confusing for blind people
an additional element in
tt_content.image.20.1.imageLinkWrap
named imageLinkText or something like this is needed so
w3c wcag requirements are met
required changes around line 2699 of this class.tslib_content.php in sysext tslib
$a2= $conf['imageLinkText'] . '</a>';
instead of
$a2= '</a>';
in 2 places in the function
(issue imported from #M6058)
Files