Hyperlinks are often taken for granted. We’ll often Click Here for an Insane Offer! or Learn more about Antarctic midges without thinking too hard about the technology that allows us to do this so easily. However, it’s not that simple for users of screen readers.
Making links accessible comes down to two things: making them understandable and convenient. When screen readers come across a link, they read it as “link [link text]”. This makes things like link to website repetitive, since it will read as “link link to website”. It also makes typed out links (like https://en.wikipedia.org/wiki/List_of_individual_dogs) annoying, since the screen reader will read out every part of that link down to the punctuation.
It is also important to make sure links make sense out of context. In the same way you would skim over a website, screen reader users will often “skim” a website by jumping between headings and links. If your links just say “click here” or “read more”, users will have no idea what they’re referring to because they have limited context. They will have to read the whole paragraph or page section just to find out where the link leads, which can be time consuming.
The best way to make links accessible is to use what are called descriptive links. This is where you attach the link to enough text that you can easily tell what the link is for, but not too much that it becomes a waste of time to read all the way through. Here are some tips to write effective descriptive links:
Text links aren’t the only types of links out there. Often, images will be placed on a page and used as a link, with or without text explaining what it is. As you can imagine, these aren’t inherently accessible!
In cases like these, the best thing you can do is add alt text to the image. However, instead of explaining the image, the alt text should describe what clicking the image would do. So for example, if you had a graphic of a printer used to print a document, the alt text should say “Print the document.”
You can read more in-depth about different linked image examples on W3C’s Functional Images page.