question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New rule: H33 - link-text

See original GitHub issue

H33 - 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)

  1. For each a element check if the link text is unique. If true, pass; else 2.
  2. Check if the links have different titles. If true, pass; else fail.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
devarshipantcommented, Sep 18, 2017

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.

0reactions
WilcoFierscommented, Aug 22, 2019

This proposal is superseded by https://github.com/dequelabs/axe-core/issues/1505.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found