WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Headings and link text

for

From: cb
Date: Sep 8, 2014 10:13AM


The W3C recommends aria-labelledby or aria-label for Success Criterion
2.4.4. It will replace the link text with the text of the element used
as the label (for aria-labelledby) or the contents of the attribute
(for aria-label). See http://www.w3.org/TR/WCAG20-TECHS/ARIA7.html and
http://www.w3.org/TR/WCAG20-TECHS/ARIA8.html. You can specify multiple
elements with aria-labelledby, and that will concatenate them.

You could also look at aria-describedby. It's not one of the W3C
recommended techniques, but it should work. It will append the text of
the element used for description to the text of the link.

Caroline

On Mon, Sep 8, 2014 at 8:39 AM, Liko, Todd < <EMAIL REMOVED> > wrote:
> The success criterion also says:
>
> "It is a best practice for links with the same destination to have consistent descriptions (and this is a requirement per Success Criterion 3.2.4 for pages in a set). It is also a best practice for links with different purposes and destinations to have different descriptions."
>
> However in reading Success Criterion 3.2.4. it applies more to multiple pages than on a single page.
>
> Todd.
>
>