♿Decorative Image
Also known as Empty Alt Text, Null Alt Attribute
A picture that only looks nice. Screen readers should skip right past it.
Think of it like
It is like the flowers on a birthday card. They look nice, but they do not say anything.
Example
A blog puts a wavy line under each heading. Each line gets an empty alt, so a screen reader says nothing and moves on.
Why it matters
Hearing "image, wave line dot png" ten times on one page wears a listener out.
Definition
Example code
html
<img src="wave-line.png" alt="">Common mistake
Key takeaways
- 1Looks, not meaning. Nothing to tell the reader.
- 2Empty, not missing. Write alt with nothing in it.
- 3The test. Would anyone miss it if gone?