New rule: H33 - link-text
See original GitHub issueH33 - link-text
The objective of this test is to check whether an additional text (title
element) is provided to describe the purpose of the link.
Tags: wcag2a, wcag244, cat.text-alternatives, best-practice
Selector
Select all anchor a
elements.
Checks
text-alternatives/link-text (any)
- For each
a
element check if the link text is unique. If true, pass; else 2. - Check if the links have different titles. If true, pass; else fail.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
H33: Supplementing link text with the title attribute - W3C
The objective of this technique is to demonstrate how to use a title attribute on an anchor element to provide additional text describing...
Read more >Links and accessibility - AccessibilityOz
Another problematic issue with the link text requirements in WCAG2 is the ability to convey extra information in the TITLE attribute of a...
Read more >Making Accessible Links: 15 Golden Rules For Developers
Rule 12: Design with keyboard-only users in mind The extra information conveyed in the TITLE attribute of a link HREF, (see H33: Supplementing...
Read more >Writing Appropriate Link Text - Maxability
In this situation user should go through each read more link to find the required link. Removing the term read more from the...
Read more >Links - Usability & Web Accessibility - Yale University
In that case, a screen reader may only read the link text and not the ... As a general rule, link text alone...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If title is present on a link, at a minimum, the test should check and report if the title contains part of the link text. The tester should then manually check the context in which the title is used. Manual override is required to make a determination without calling it a violation.
If the title is exactly the same as the link (innerText), then JAWS 17 / 18 ignore the title and NVDA does not bother speaking the title, so that can be considered a pass.
This proposal is superseded by https://github.com/dequelabs/axe-core/issues/1505.