15.7% of home pages have ambiguous link text
2.4.4 Link Purpose (In Context)
In Plain Language
The purpose of every link must be clear from the link text alone, or from the link text combined with its surrounding context. Users should be able to understand where a link will take them before they activate it.
Two common failures: empty links (an image wrapped in a link with no alt text) and vague link text like "click here" or "read more" that is meaningless out of context.
Why It Matters
- Screen reader users often navigate by pulling up a list of all links on a page -- "click here" repeated five times is useless without surrounding context.
- Empty links are announced as the raw URL, which can be a long, incomprehensible string of characters.
- Descriptive link text helps all users scan the page and decide which links to follow.
- This is the fourth most common accessibility failure, found on 46.3% of home pages.
Examples
Do: Descriptive link text
<p>Learn more about our
<a href="/programs">adult literacy programs</a>.
</p>
<p>View the
<a href="/report.pdf">2024 annual impact report (PDF, 2.3 MB)</a>.
</p>
Don't: Vague 'click here' links
<!-- FAILS: vague link text -->
<p>To learn about our programs,
<a href="/programs">click here</a>.
</p>
<p>For the annual report,
<a href="/report.pdf">read more</a>.
</p>
Do: Icon link with aria-label
Don't: Empty link with no text
How to Fix It
- Write descriptive link text. The link text should make sense on its own, out of context. Replace "click here" or "read more" with text that describes the destination, such as "view our adult literacy programs."
- Give icon links an accessible name. Use
aria-labelon links that contain only an icon, image, or symbol. For image links, the image's alt text becomes the link's accessible name. - Avoid duplicate link text. If multiple links on the same page say "Learn more", differentiate them with
aria-labelor by rewriting the visible text to be unique. - Use surrounding context when needed. If the link text alone is not sufficient, the enclosing sentence, paragraph, list item, or table cell can provide additional context -- but standalone descriptive text is always preferred.