Project

General

Profile

Actions

Bug #16129

closed

imageLinkWrap missing text between img tag and a tag

Added by Christoph Eisenmann almost 17 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2007-08-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

class.tslib_content.php (313 KB) class.tslib_content.php Administrator Admin, 2007-08-02 08:29
Actions #1

Updated by Gerrit Code Review over 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7727

Actions #2

Updated by Steffen Gebert over 12 years ago

  • Status changed from Under Review to Rejected
  • Assignee set to Steffen Gebert
  • Target version deleted (0)
  • TYPO3 Version set to 4.7

In my/our opinion (see the review comments) this change makes no sense.

Actions

Also available in: Atom PDF