Image used as part of page design

Image used as part of page design

Decorative images don’t add information to the content of a page. For example, the information provided by the image might already be given using adjacent text, or the image might be included to make the website more visually attractive.

[…]

The examples below show how to use the alt attribute when decorative images are provided using the element. Where possible, decorative images should be provided using CSS background images instead.

[…]

3 mins