Top Five Accessibility Issues: 1. Linked image missing alternative text
Over the next few weeks, we are going to take a look at the top five accessibility issues discovered on Carleton websites by our scanning tools. We will also look at the top five issues we discovered by doing a visual check on sites. The first item is:
Linked image missing alternative text
What it means
An image without alternative text results in an empty link.
Why it matters
Images that are the only thing within a link must have descriptive alternative text. If an image is within a link that contains no text and that image does not provide alternative text, a screen reader has no content to present to the user regarding the function of the link.
How to fix
Add an alt text attribute to any image that is to be used as a link. The alt text should describe what action will occur, so for example: Visit our testimonials page
What all this means in essence is that when you present images usually on a website, the image should not have an alt text attribute IF the picture is purely decorative.
For example, in an article about cats, this image should not have any alt text: