If you have done anything with photos on your website, then you have seen that area where it asks for the photo alt text. You might write one or two quick words about the photo or leave it blank. We are all guilty of this at some point. I mean it is a photo, you can see it. Why does it need an alternate description at all anyway?
I am here to help you out with this. The main reason for the description is so folks using screen readers can understand the photo and know what it is and why it adds value to the website. It can also be useful if your internet is too slow and the photo will not load. In short, the descriptions are for accessibility. (This also helps with the magic of SEO)
Great, we all want more accessible websites. How do you do it? This depends on what platform you are using. Here are a few popular options.
Go to your media library and click on an image. There is an alternate text area. This part is the accessible text for screen readers. Captions and descriptions are more complex and I will go over them in the future.
Go into edit mode and double click on the image you wish to edit. Scroll down and fill in the image alt text field. Make sure you save when you are done.
If you are brave enough to code your own website you probably already know how to add alt text to an image. In case your forgot, here it is in code form.
In the img
tag, add alt="image description"
Important side note to end on. If your image is purely decorative and doesn’t add information to your site, it dose not need alt text. If your image is text, like a logo, make sure to include the words in the image!
Thanks for reading.