W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > July 2017

WCAG 2.0 Comment Submission

From: <noreply@w3.org>
Date: Tue, 11 Jul 2017 20:25:22 +0000
To: public-comments-wcag20@w3.org
Message-Id: <E1dV1ik-0006E2-Ni@sirius.w3.org>
Name: Mark Weiler
Email: mweiler@alumni.sfu.ca
Affiliation: 
Document: TD
Item Number: H30
Part of Item: Tests
Comment Type: technical
Summary of Issue: 
Comment (Including rationale for any proposed change):
I'm doing a close reading of the testing procedures for H30.  They don't seem to contemplate the situation where there is an image with alt text and text in the link. As a result, it can't seem to detect a problem where neither the image's alt attribute nor the link text describes the purpose of the anchor.  

Consider the the following piece of HTML: 

<a href="cat.jpg"><img alt="a bird in a cage">my dog Murphy</a>

In this case, the image is of a cat, but the img alt attribute is about a bird and the link text is about a dog.  Neither describe the link. 

Following the current test procedure, the results are:

1. Check that text or a text alternative for non-text content is included in the anchor element.
True.

2. If an image element is the only content of the anchor element, check that its text alternative describes the purpose of the link.
This test doesn't apply because text accompanies the image.

3. If the anchor element contains one or more image element(s) and the text alternative of the image element(s) is empty, check that the text of the link describes the purpose of the link
This test doesn't apply because the text alternative for the image isn't empty.

4. If the anchor element only contains text, check that the text describes the purpose of the link
This test doesn't apply because an image accompanies the text

(Submitted through: https://www.w3.org/WAI/WCAG20/comments/techniques.php)

Proposed Change:
It would seem a revised (1) is needed

(1) Check that appropriate text or an appropriate text alternative for non-text content is included in the anchor element.

(2), (3), and (4) become redundant and can be deleted

Can someone confirm that this has been received and what is the response?  It would help me to know who are the people discussing these suggestions submitted through this form.

Thanks 
Received on Tuesday, 11 July 2017 20:25:28 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 14 July 2018 08:53:05 UTC