New May 5, 2026

A11y Advent Day 8: Alternative Text to Images

More Front-end Bloggers All from Kitty Giraudel View A11y Advent Day 8: Alternative Text to Images on kittygiraudel.com

Ah, alt text! Alternative text to images has been an age old topic on the web. The goal is to provide a description of the image in case it fails to load or for people who are not able to perceive images and rely on textual content to get their meaning. It is very important for people using screen-readers, as well as search engines.

There are countless resources on the web about authoring good alternative texts to images, my favorite of all is this ultimate guide by Daniel Göransson, so I will just give a bit of a recap.

Finally, there are some cases where you can leave out the alternative text entirely, and leave the attribute empty (alt=""):

That’s the main gist. Images are a critical part of the web, we have to appreciate that not everyone can perceive them the same way, and that’s why it’s critical to describe them properly.

Scroll to top