跳到內容
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:

貢獻

你有哪些想法?

社群