Will It Vibe logoWill It Vibe?
REACT-021Medium severity-8 points

Image without an alt attribute

Part of Documentation, UX & Accessibility, which counts for 15% of the overall score. When this check fires it deducts 8 points from that category, once per scan, no matter how many places it turns up.

What it detects

An <img> with no alt attribute gives screen-reader users nothing to announce and fails WCAG 1.1.1. Provide descriptive alt text, or alt="" for a purely decorative image so it is skipped.

Why it matters

An img with no alt attribute gives screen readers nothing to announce, so the image content is lost to users who cannot see it, and automated accessibility checks and WCAG 1.1.1 flag it. Note that a missing alt is different from an empty alt: the empty form is the deliberate convention for decorative images.

How to fix it

Add alt text that conveys the meaning of the image for content images. For purely decorative images that add no information, use alt="" so screen readers skip them. Do not describe the image with the word "image" and do not omit the attribute entirely.

The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing

Does your repo trip this check?

Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.

Scan your repo

Related Documentation, UX & Accessibility checks