A11yAdvent Day 4: Self-Explanatory Links

Let’s stay in the topic of screen-readers and talk about links. I believe a relatively little known feature of many screen-readers is the ability to list all links in a page in order to navigate more rapidly. Besides that feature, tabbing through page means jumping from link to link, skipping the text between them. Either way, links end up being announced devoid of their surrounding content and grammatical context.

That means it is important for links to be self-explanatory. In other words, a link should make sense on its own without the rest of the sentence it lives in or its visual surroundings. The content of the link should describe what the link does.

To have a look at what links look like in a given page, I would highly commend this accessibility bookmarklet by Tobias Bengfort. Drag it onto your bookmark bar, then activate it on any page to be prompted with a little dialog which contains a dropdown menu offering 3 options: landmarks, headings and links. The last one is the relevant one in this case.

If you spot a link that does not make much sense on its own, revise its content until it does. No more “click here”, “learn more” or other non-sensical links! Similarly, avoid mentioning “link” in the text since most screen-readers already do that.

As an example, consider a link visually stating “Edit” in a list of items. It makes sense, because the link belongs to a list item, therefore it is implied that it is for that specific item. But when listing links or just tabbing through, all links end up saying “Edit”, which is not good at all. To fix that problem, we can apply what we learnt yesterday and add some visually hidden content to the link.

a href="/edit/1234567890">
Edit span class="sr-only">item [distinguishable item name]span>
a>


This content originally appeared on Kitty Giraudel and was authored by Kitty Giraudel

Let’s stay in the topic of screen-readers and talk about links. I believe a relatively little known feature of many screen-readers is the ability to list all links in a page in order to navigate more rapidly. Besides that feature, tabbing through page means jumping from link to link, skipping the text between them. Either way, links end up being announced devoid of their surrounding content and grammatical context.

That means it is important for links to be self-explanatory. In other words, a link should make sense on its own without the rest of the sentence it lives in or its visual surroundings. The content of the link should describe what the link does.

To have a look at what links look like in a given page, I would highly commend this accessibility bookmarklet by Tobias Bengfort. Drag it onto your bookmark bar, then activate it on any page to be prompted with a little dialog which contains a dropdown menu offering 3 options: landmarks, headings and links. The last one is the relevant one in this case.

If you spot a link that does not make much sense on its own, revise its content until it does. No more “click here”, “learn more” or other non-sensical links! Similarly, avoid mentioning “link” in the text since most screen-readers already do that.

As an example, consider a link visually stating “Edit” in a list of items. It makes sense, because the link belongs to a list item, therefore it is implied that it is for that specific item. But when listing links or just tabbing through, all links end up saying “Edit”, which is not good at all. To fix that problem, we can apply what we learnt yesterday and add some visually hidden content to the link.

<a href="/edit/1234567890">
Edit <span class="sr-only">item [distinguishable item name]span>
a>


This content originally appeared on Kitty Giraudel and was authored by Kitty Giraudel


Print Share Comment Cite Upload Translate Updates
APA

Kitty Giraudel | Sciencx (2020-12-04T00:00:00+00:00) A11yAdvent Day 4: Self-Explanatory Links. Retrieved from https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/

MLA
" » A11yAdvent Day 4: Self-Explanatory Links." Kitty Giraudel | Sciencx - Friday December 4, 2020, https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/
HARVARD
Kitty Giraudel | Sciencx Friday December 4, 2020 » A11yAdvent Day 4: Self-Explanatory Links., viewed ,<https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/>
VANCOUVER
Kitty Giraudel | Sciencx - » A11yAdvent Day 4: Self-Explanatory Links. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/
CHICAGO
" » A11yAdvent Day 4: Self-Explanatory Links." Kitty Giraudel | Sciencx - Accessed . https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/
IEEE
" » A11yAdvent Day 4: Self-Explanatory Links." Kitty Giraudel | Sciencx [Online]. Available: https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/. [Accessed: ]
rf:citation
» A11yAdvent Day 4: Self-Explanatory Links | Kitty Giraudel | Sciencx | https://www.scien.cx/2020/12/04/a11yadvent-day-4-self-explanatory-links-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.