50.1% empty links

The new WebAim 1 Million report was recently published, and the results are sobering. Compared to the previous year, 0.5% fewer websites contained automatically detectable accessibility issues, but the total number of e…


This content originally appeared on Manuel Matuzović - Blog and was authored by Manuel Matuzović

The new WebAim 1 Million report was recently published, and the results are sobering. Compared to the previous year, 0.5% fewer websites contained automatically detectable accessibility issues, but the total number of erroneous websites is still 96.3%.

The number of empty links increased by 0.4% from 49.7% to 50.1%. More than half of the websites tested contained empty links (links with no text).
That usually happens when you link an image, but it has no alt attribute or the alt attribute has no value.

To give you an idea of how this affects the user experience and accessibility, I tested the following empty links with screen readers.

<a href="https://webaim.org/projects/million/">
  <img src="/images/screenshot-04-03-23_copy.jpg">
</a>

Here's what different screen readers announce using the Tab key on desktop and touch on mobile.

Linked image with no alt
Screen reader Browser Result
NVDA Firefox million, graphic, link
JAWS Firefox H T T P S colon slash slash webaim dot org slash projects slash million slash
JAWS Edge images slash screenshot dash 04 dash 03 dash 23 underline copy, link, graphic
Talkback Chrome screenshot the 3rd of April 23 underscore copy, link
VoiceOver macOS Safari link, million
VoiceOver macOS Chrome unlabelled image
VoiceOver macOS Firefox link, image, million
VoiceOver iOS Safari million, link
<a href="https://webaim.org/projects/million/">
  <img src="/images/screenshot-04-03-23_copy.jpg" alt="">
</a>
Linked image with empty alt
Screen reader Browser Result
NVDA Firefox million, link
JAWS Firefox link, H T T P S colon slash slash webaim dot org slash projects slash million slash
JAWS Edge million, link
Talkback Chrome million, link
VoiceOver macOS Safari link, million
VoiceOver macOS Chrome link, million
VoiceOver macOS Firefox link, million
VoiceOver iOS Safari million, link

That sucks. At best, screen reader users can only guess what they can expect when they click an empty link.

How can you avoid repeating these mistakes?

Test your sites at least with an automatic testing tool like axe, Lighthouse, or Wave, and label linked graphics. I’ve described several ways in “Buttons and the Baader–Meinhof phenomenon.”.

My blog doesn't support comments yet, but you can reply via blog@matuzo.at.


This content originally appeared on Manuel Matuzović - Blog and was authored by Manuel Matuzović


Print Share Comment Cite Upload Translate Updates
APA

Manuel Matuzović | Sciencx (2023-03-04T00:00:00+00:00) 50.1% empty links. Retrieved from https://www.scien.cx/2023/03/04/50-1-empty-links-2/

MLA
" » 50.1% empty links." Manuel Matuzović | Sciencx - Saturday March 4, 2023, https://www.scien.cx/2023/03/04/50-1-empty-links-2/
HARVARD
Manuel Matuzović | Sciencx Saturday March 4, 2023 » 50.1% empty links., viewed ,<https://www.scien.cx/2023/03/04/50-1-empty-links-2/>
VANCOUVER
Manuel Matuzović | Sciencx - » 50.1% empty links. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/04/50-1-empty-links-2/
CHICAGO
" » 50.1% empty links." Manuel Matuzović | Sciencx - Accessed . https://www.scien.cx/2023/03/04/50-1-empty-links-2/
IEEE
" » 50.1% empty links." Manuel Matuzović | Sciencx [Online]. Available: https://www.scien.cx/2023/03/04/50-1-empty-links-2/. [Accessed: ]
rf:citation
» 50.1% empty links | Manuel Matuzović | Sciencx | https://www.scien.cx/2023/03/04/50-1-empty-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.