Why is Alt Text For Images Important for Accessibility?
Published on 9th October 2024 by Debbie
We all know that images are powerful tools on a website. They convey important messages, capture our attention, and provide more information. They can sometimes be easier to understand than written text.
But for someone who can't see the images, whether they are visually impaired or unable to download the image, they will still need the information that the image conveys; the importance and relevance the image has to the page and topic. This is where the alternative text comes in.
So what is alternative text or alt text as it is also known? It's a written description for website images which helps make any website more inclusive for visually impaired users using a screen reader. The screen reader will describe the image to the user using the alt text.
Here are some helpful tips for how to write alt text correctly:
- Be descriptive - write an accurate description of the image.
- Be concise - describe what's in the image accurately enough so that the context can be understood. A good practice is to pretend you are describing the image to someone over the phone.
- Avoid non-descriptive language and don't use generic phrases like 'An image of' or A picture showing'. The screen reader will also say the words 'An image of' before it reads your alt text.
- Screen readers might not annunciate exclamation marks but using full stops will make the screen reader pause.
- Make sure that if there is text within the image that is essential, that this is also included.
- The alt text shouldn't be longer than a sentence or two. Long alt text that's overly descriptive will result in a poor user experience for anyone using a screen reader.
- Search engines like Google also use alt text so they can also help with your SEO.
Let's have a look at an example of good and bad alt text for this image.
Example of good -"Person walking with a black labrador along a path on a sunny day with hills in the background."
Why is it good? This alt text provides relevant and descriptive information, conveying the key elements of the image without over-explaining; It's concise yet informative.
Example of bad - "Person and Dog."
Why is it bad? This alt text is too vague and misses important details, providing little value to the user. It doesn't describe the action or setting.
Now you can see why it's important to have good alt text, there is also another important element to consider. If the image on the page is for decoration only, you're probably thinking that you don't need to include alt text, wrong! If you don't put any, then the screen reader will instead read out the file name of the image, which in many cases won't make any sense. One I came across was 54706_Bio, unlabelled image, very confusing. So if you don't want to write a descriptive alt text as it's only decorative, then you need to write this instead:
alt=””
The screen reader will acknowledge that the image has no importance and so will ignore it, which is what you want.
Hopefully, this has helped you understand a bit more about alt text and why it's so important to think about whenever you're adding images to your website.

Recent Articles
Don't Skip the Form Labels! Here's Why They're Key for Accessibility
Published on 23rd January 2025 by Debbie
I'm pretty sure most days I interact with forms on websites. Just earlier, I was about to browse an online clothing store when within seconds a pop-up appeared telling me ...
We all benefit from Web Accessibility
Published on 28th October 2024 by Debbie
When many people think about web accessibility, they assume it only relates to people with a disability, but in reality, it affects us all...
Why is Alt Text For Images Important for Accessibility?
Published on 9th October 2024 by Debbie
We all know that images are powerful tools on a website. They convey important messages, capture our attention, and provide more information. They can sometimes be easier to ...
Keyboard Traps Make me go Argghhhhh
Published on 30th September 2024 by Debbie
The other day I came across a website selling beautiful ceramic mugs. Quite often now when I land on a site I've not seen before, I find myself testing out its accessibility, just out of curiousity.
Accessibility Within an Agile Development Team
Published on 14th September 2024 by Charlie
Within Software systems "detection of errors early in the process saves more effort and time than later in the development or after release" and the same is true for Accessibility.
Why Should You Care if Your Website is Accessible?
Published on 10th September 2024 by Debbie
Most of us take for granted that when we either want to buy something, look up information, or read a news article etc, we click on a website, we use our mouse to click on the links we want to ...
What is Web Accessibility?
Published on 19th August 2024 by Debbie
Web accessibility is about making your website work correctly for people with disabilities so that everyone can perceive, understand, navigate and interact with your content.