Image text alternatives (alt)
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
Whether every <img> in the HTML the server sends has an alt attribute. An empty alt="" counts.
- Pass
Every image has an
alt. - Warning
At least one does not.
- Note
There are no
<img>elements. Not scored.
Why it matters
A screen reader reads an image's alt in its place. With no alt, many read the file name instead. Search engines also use it to understand images.
How do I write alt text for images?
Describe what the image tells the reader, in the context of the page. For decoration, use an empty alt="" so it is skipped. A linked image's alt should say where the link goes.
HTML
<img src="/chart.png" alt="Sign-ups doubled between March and June">
<img src="/divider.svg" alt="">
<a href="/"><img src="/logo.svg" alt="Example home page"></a>Related tools
- Homepage accessibility checker — Check homepage markup for language, viewport, alt text, labels and link text.
Other checks in Accessibility basics
Accessibility basics in the methodology ·All guides
This check is one step of the website launch checklist.
How often audited websites pass this check: see the website audit benchmarks, with sample size and denominators.
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.