Understanding Image Accessibility
Images must be accessible to all users, including those who use screen readers or have visual impairments. This page demonstrates common accessibility violations related to images and how to fix them.
The following examples show various issues that can affect image accessibility in web content.
Image Accessibility Violations
Missing Alt Text Violation
Issue: Product image with no alt text
<img src="product-image.jpg">
Screen readers cannot convey what this product is to users
Decorative violations
Issue: Decorative images with unnecessary alt text
<img src="decorative-shape.png" alt="Combined Shape">
Decorative images should use empty alt text (alt="") or role="presentation" to be properly ignored by screen readers
Missing Long Description
Issue: Complex chart missing proper long description
<img src="quarterly-sales.png" alt="Sales chart">
Needs aria-describedby, figcaption, or longdesc for complete context
Section 1
This is a text element in the first section. On 200% zoom, the button below should overlap this text.
Needs Review AI color contrast
COLOR CONTRAST NOT AN ISSUE