ampproject / ampproject/amphtml

[a11y] Consider adding empty alt attribute on <img when none is provided

Open
#34,278 12 comments 0 reactions 1 assignee Claimed by @caroqliu View on GitHub
Type: Feature Request WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

On regular AMP pages, when publishers don't provide an `alt` attribute on their `amp-img`, the underlying `img` doesn't get any `alt`.
Most screenreaders will fallback on reading the `href` of the `

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.