Every <img> must carry a descriptive alt attribute or an explicit empty alt="" if purely decorative.
<img src="team-photo.jpg" alt="Our design team standing outside the new office building"><img src="team-photo.jpg">When: An <img> has no alt attribute or its alt is empty when image conveys important content
Warning: <img> tag missing alt attribute
Solution: Add descriptive alt text or explicit alt="" for purely decorative images
Accessibility: Missing alt text leaves screen-reader users unaware of image content; null alt on informative images hides key information :contentReference[oaicite:8]{index=8}.
SEO: Without alt text, search engines lack context for images, reducing opportunities to rank in image search :contentReference[oaicite:9]{index=9}.
Ensure that all visual content is perceivable by assistive technologies and remains meaningful when images fail to load.
G94: Providing text alternatives for non-text content using the alt attribute on <img> elements.H67: Using null alt text (alt="") for decorative images, optionally with role="presentation".The alt attribute’s value must convey the content or function of the image—avoid describing its format or filename :contentReference[oaicite:7]{index=7}.