‘Link Purpose (Link Only)’ requires that every link’s destination is clear from its text.
It’s essential that you make your links clear and easy to understand.
That’s because users with assistive technology, like a screen reader, often hear all the links on a page to help them find where they want to go. Others may view your website highly magnified or tab through links, so the user will only see the link text and a few words around it at any one time.
To help your users, your link text (the words that are linked, often called ‘anchor text’) must make the link destination clear.
How to Pass ‘Link Purpose (Link Only)’
Make sure that for each link on your website:
- The destination of the link is clear from the link text (for example, ‘My blog’); or
- If the link is an image, the alt text of the image makes the link destination clear (for example, ‘Luke McGrath – Visit my blog’); and
- Links with the same destination have the same description (but links don’t share a description if they point to different places).
You don’t need to make the link purpose clear if it’s ambiguous to all your users.
For example, if I link the word ‘blog’ in the phrase ‘I have a personal blog’ the link might go to my blog, or it might go to a Wikipedia page explaining what a blog is. No user would reliably know where the link goes before they follow the link.
Of course, it’s best to avoid ambiguous links as users should always know where they are going. Although, there are times when you might want to spring a fun surprise on everyone.
‘Link Purpose (Link Only)’ Tips
Where you link to another page on your website, it’s good practice to use the page title you set in Page Titled as the link text.
Free Developer Resources
Join over 3,700 subscribers on my weekly web accessibility email and get free developer resources like WCAG Checklists and special offers.
Over 600 developers like you have learned more about the Web Content Accessibility Guidelines with my guidebook.