I don't think we should have an example that doesn't self reference

Name: David MacDonald
Email: david100@sympatico.ca
Affiliation: WCAG WG member
Document: TD
Item Number: ARIA7
Part of Item: Applicability
Comment Type: general comment
Summary of Issue: I don't think we should have an example that doesn't self reference
Comment (Including rationale for any proposed change):
"The specified behavior of aria-labelledby is that the associated label text is announced instead of the link text (not in addition to the link text)."

aria-labelledby replaces the link text (e.g. learn more)in the anchor, which prohibits screen readers from knowing the actual text, and may cause a probably if they are trying to find it.

We should only have self referencing examples so they will hear "Storms hit east coast, learn more".

I don't think we should provide an example that prevents screen reader for accessing some content on the screen that is accessible to sighted users.

Current language:

"The specified behavior of aria-labelledby is that the associated label text is announced instead of the link text (not in addition to the link text). When the link text itself should be included in the label text, the ID of the link should be referenced as well in the string of IDs forming the value of the aria-labelledby attribute."

I created a pull request with this but we are still ironing out bugs in the pull request process for techniques and in light of our May 15 deadline, this seems the more secure venue to address the concern.


 

Proposed Change:
Suggested language:

"The specified behavior of aria-labelledby is that the associated label text is announced instead of the link text (not in addition to the link text). THerefore when used to provide link context the ID of the link should be referenced as well in the string of IDs forming the value of the aria-labelledby attribute. This will cause the link text itself to be included in the label text along with the text referenced by aria-labelledby"

The first example would self reference.
<h2 id="headline">Storms hit east coast</h2>

<p>Torrential rain and gale force winds have struck the east coast, causing flooding in many coastal towns.
   <a href="news.html" id="p35" aria-labelledby="headline p35">Read more...</a></p>

Received on Saturday, 10 May 2014 17:50:16 UTC