Will It Vibe logoWill It Vibe?
SVELTE-011Medium 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. Svelte warns on this. 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 assistive technology nothing to announce, so screen-reader users get no idea what the image conveys, and the page fails WCAG 1.1.1. Svelte surfaces this as a build warning. Missing alt text is one of the most common and most visible accessibility defects.

How to fix it

Add descriptive alt text that states what the image communicates, for example alt="Quarterly revenue chart". For an image that is purely decorative and adds no information, use an empty alt="" so screen readers skip it. Do not restate the word image or photo in the text, and do not leave alt off 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