W3C

Edit comment LC-2880 for Accessibility Guidelines Working Group

Quick access to

Previous: LC-2881 Next: LC-2890

Comment LC-2880
:
Commenter: Wilco Fiers <w.fiers@accessibility.nl> on behalf of Accessibility Foundation

or
Resolution status:

As an HTML technique, this one is very strange. It doesn't give you a way to solve a certain problem, rather it says not to do something; namely to have two adjacent links with the same description. This seems much more the kind of thing failure techniques are for, the "Don't do X"-type. Failing H2 doesn't mean you failed the SC, since you can still have two links, one with an image and the next with a text, and the image has the same alternative as the text. The image can still meet technique H37 (img with descriptive alt) and thus someone might conclude this meets the success criteria.

There is a pretty good argument that can be made against this scenario. If the W3C logo has the text "W3C logo" adjacent to it, this could be considered it's text alternative. Giving it an alt text of "W3C logo" would be redundant and thus the combined result of the two alternatives would be "W3C logo W3C logo" which is quite clearly not a good alternative. When these two bits of content are in separate links however, the content author MUST provide a text for each link in order to meet 4.1.2. So leaving the alt attribute empty wouldn't be a solution in this case either. The only possible solution would be to combine the two links.

If this argument is valid (And I believe WCAG isn't quite specific enough to decide either way, but opinions my vary on this.), then that would mean having adjacent links one with an image and the other with a text would that had the same description would always be a failure. For 1.1.1 if the image repeated the text in its alt attribute and for 4.1.2 if the alt attribute was left empty.

This comment is part of the project for the Accessibility Support Database
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2880.html,v 1.1 2017/08/11 06:40:34 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org