|Links with different
hrefs must have unique accessible names or descriptions.
- Screen reader programs provide commands that list all links on a page by their accessible names. When links are taken out of their page context and placed in the context of such a list, links with the same accessible name appear to refer to the same informational resource.
- When links that point to different URLs have the same accessible name or description, screen reader users may be unable to determine which link among them references the information they are seeking.
HTML4 Legacy Techniques
HTML5 and ARIA Techniques
|WCAG Success Criteria
2.4.4 Link Purpose (In Context) (Level A, Primary Success Criterion)
area elements and elements with
- The link text (i.e. its accessible name and/or description) should uniquely describe the target of a link.
- Use the
title attribute to provide a more descriptive accessible name when the text content of the link cannot be changed.
aria-describedby to provide additional information for links that share the same accessible name but have different contexts to allow users to differentiate among them.