Skip to content
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Image missing required "alt" property.

ImageMissingAlt: Image missing “alt” property. “alt” text is required to describe important images on the page.

The alt property allows you to provide descriptive alt text to users of screen readers and other assistive technologies. In order to ensure your images are accessible, the Image component requires that an alt be specified.

If the image is merely decorative (i.e. doesn’t contribute to the understanding of the page), set alt="" so that screen readers know to ignore the image.

See Also:

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community