Decorative image
Also called: Pure decoration, Empty alt, alt=""
An image that adds no information or function, which should be hidden from assistive technology with an empty alt attribute.
Definition
WCAG defines pure decoration as serving only an aesthetic purpose, providing no information, and having no functionality. 1.1.1 Non-text Content says such content must be implemented so that assistive technology can ignore it.
In HTML, that means alt="" (an empty alt, not a missing one) or a CSS background image. An inline SVG can use aria-hidden="true".
Why it matters
A missing alt and an empty alt are very different. With no alt, many screen readers announce the file name, such as "hero underscore final underscore 2 dot jpg". With alt="", they skip the image, which is what you want for dividers, background flourishes and images whose meaning is already in the text next to them.
The opposite mistake also happens: marking a meaningful image, like a chart or a product photo, as decorative hides information.
How to test or meet it
Ask whether someone who cannot see the image would miss anything. If not, use alt="". The W3C's alt decision tree walks through the common cases. Icons next to visible text (a trash can beside "Delete") are usually decorative too.
Automated tools cannot tell decorative from meaningful images. They will accept any empty alt, so review empty ones by hand. Our alt text checker lists which images are marked decorative.
WCAG criteria
- 1.1.1 Non-text Content (Level A)
Tools and guides
Related terms
Sources
By the Perceivly team · Published . This explains a term; it is not legal advice.