Skip to content

图片缺少所需的 "alt" 属性。

ImageMissingAlt:图片缺少 “alt” 属性。需要 “alt” 文本来描述页面上的重要图片。

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

¥What went wrong?

alt 属性允许你向屏幕阅读器和其他辅助技术的用户提供描述性替代文本。为了确保你的图片可访问,Image 组件要求指定 alt

¥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.

如果图片只是装饰性的(即无助于理解页面),请设置 alt="" 以便屏幕阅读器知道忽略该图片。

¥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:

Astro 中文网 - 粤ICP备13048890号