For users navigating with assistive technologies, the meaning of a link should always be clear when read within the flow of the content.
Link Purpose (In Context) ensures that even if the link text itself is vague, the context surrounding it makes its purpose clear.
NOTE FROM THE EDITOR: That’s the point of this SC, but frankly, you should stick with WCAG 2.4.9 Link Purpose (Link Only) and make sure your links make sense without additional context for true accessibility.
Who this impacts
- Screen reader users: People using screen readers rely on the surrounding content to understand what a link will do. Without that context, links like “Read more” can be confusing.
- Keyboard navigators: Those who navigate through content using a keyboard benefit when the meaning of a link is obvious from the surrounding text.
- Everyone: Clear context around links helps all users navigate more confidently, knowing where each link will lead.
How to meet Link Purpose (In Context)
- Ensure the context explains the link: Make sure the purpose of the link is clear within the text around it. If the link is “Read more,” the sentence should tell users what they’ll read more about.
- Test links in full sentences: Read the links with the surrounding text to ensure their purpose is easy to understand, even when the link itself is vague.
- Use link text sparingly: While the surrounding text should clarify the link, try to make the link text itself as informative as possible within the context.
Practical example
Exceptions
There are no specific exceptions to Link Purpose (In Context). All links need to make sense when read with the surrounding content, even if the link text itself is vague.
Top tips
- Check for meaning in context: When reviewing links, make sure their purpose is obvious from the surrounding content.
- Avoid generic link text when possible: Even though the context may explain the link, strive to make link text meaningful in its own right.
- Test with screen readers: Ensure that the purpose of links is clear for users who rely on screen readers to navigate the web.
- Make better link text: Ignore this SC and focus on WCAG 2.4.9 Link Purpose (Link Only) instead. It’s better for everyone if your links are self-explanatory.