The alt attribute is meant to provide “alternate text” descriptions of images to help ensure people do not miss out on information conveyed by graphics.

Alternative text can help people using assistive technology, such as screen readers, or people who have images turned off on their mobile devices (to save data, for instance). Additionally, alt text can be useful to everyone in instances of poor Internet service, or your CDN of choice having a service hiccup (or attack), and images are slow or fail to load.

A few tips on how and when to use the alt attribute:

Further reading

Edit on GitHub