W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2014

Re: WCAG-ISSUE-22 (DavidMacD): AIRA Labelledby on link should usually self reference [HTML & ARIA Techniques TF]

From: Ramón Corominas <rcorominas@technosite.es>
Date: Wed, 28 May 2014 09:43:30 +0200
Message-ID: <538593A2.3010902@technosite.es>
To: jon.avila@ssbbartgroup.com
CC: Web Content Accessibility Guidelines Working Group <w3c-wai-gl@w3.org>
An example where self-reference is not desirable:

<p id="p">A paragraph that explains the meaning of this
<a id="a" aria-labelledby="p a" href="...">ambiguous link</a>
</p>

Regards,
Ramón.


Jonathan wrote:

> It would be good to state a reason why an author may not want to
> self-reference, e.g. the referenced text repeats the link text, etc.  We
> should provide specific examples why they may not want to self-reference in
> order to reinforce that generally the they should.
 >
>> 
>> WCAG-ISSUE-22 (DavidMacD): AIRA Labelledby on link should usually self
>> reference [HTML & ARIA Techniques TF]
>> 
>> http://www.w3.org/WAI/GL/track/issues/22
> 
> Raised by: Shadi Abou-Zahra
> On product: HTML & ARIA Techniques TF
> 
> It is not desirable to have the link text replaced by the aria-labelledby,
> because that forbids the screen reader user from knowing what was in the
> link text. I think our first example should be amended. And then add another
> example at the end with no self reference if we want. This came up on a call
> quite a while ago and believe this was what the group thought was best. So
> for Example 1 we would have:
> 
> <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="p123" aria-labelledby="headline p123" >Read
> more...</a></p>
> 
> 
> I think the paragraph should be changed:
> CURRENT
> 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.
> 
> PROPOSED
> Usually the author will want the associated label text announced *in
> addition* to the link text. In this case, the ID of the link should be
> referenced as well in the string of IDs forming the value of the
> aria-labelledby attribute.
> If the author wants the  associated label text announced *instead* of the
> link text they would simply not include the self referenced ID in the value
> of the aria-labelledby attribute.
> 
Received on Wednesday, 28 May 2014 07:48:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:34:15 UTC