This document:Public document·View comments·Disposition of Comments·
Nearby:Accessibility Guidelines Working Group Other specs in this tool Accessibility Guidelines Working Group's Issue tracker
Quick access to LC-2872 LC-2873 LC-2874 LC-2875 LC-2877 LC-2878 LC-2879 LC-2880 LC-2881 LC-2882 LC-2883 LC-2884 LC-2885 LC-2886 LC-2887 LC-2888 LC-2889 LC-2890 LC-2891 LC-2892 LC-2894 LC-2896 LC-2897 LC-2898 LC-2899 LC-2901 LC-2902 LC-2903 LC-2904 LC-2906 LC-2907
Previous: LC-2881 Next: LC-2890
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