Skip to main content

Image Alt Text Auditor

Checks the alt text of images in pasted HTML for missing, empty, placeholder and file-name alternatives.

Last updatedHow we build & check our tools

Interactive Tool

Loading interactive tool…

Enter your values once it appears to see your results.

Results will appear here once the tool finishes loading. Everything runs locally in your browser.

What the auditor checks

Paste HTML containing images — from a CMS template, a newsletter or a hand-written page — and the auditor finds every <img>, inline <svg role="img"> and element with role="img". It distinguishes a missing alt attribute from an empty one (alt=""), then applies:

  • Missing alt — an error, because screen readers may fall back to the file name.
  • Empty alt inside a link — an error when the image is the link's only content, leaving the link unnamed.
  • Empty alt on a likely-informative image — a warning when the file name suggests a chart or the image is larger than 300 by 300 pixels.
  • File and camera names (IMG_2041.jpg), placeholders (image, untitled, todo) and redundant openers such as "image of" — each flagged with a suggested fix.
  • Very long alt text (over 150 characters) or very short (1-2 characters), and alt text that repeats the figure caption.

A note also fires when the markup mentions a chart, graph, diagram or infographic, because that data needs a text alternative too.

Working it into your publishing workflow

The auditor works on markup you already have, so it fits just before publication: paste the rendered HTML of a newsletter, a CMS page preview or a component template, fix what it reports, then re-paste to confirm the findings clear. An Images found table lists every image with its source and the alternative text exactly as written — or "Missing" and "Empty (alt="")" where there is none — so you can see what a screen reader would hear without opening a code editor.

Good moments for that loop: before you send a campaign, after a redesign touches image markup, or when auditing a batch of pages one at a time. For reviewing a plain list of alt text before it has any HTML around it, the Alt Text Quality Checker takes one line per image instead.

What only a person can decide

The auditor cannot see the images, so it cannot judge whether your alt text conveys the same information as the picture in its context — a grammatically clean description of the wrong detail still fails the reader. Three judgements stay with you:

  • Informative or decorative? The tool guesses from file names and dimensions; only you know whether the image adds information the surrounding text does not. Decorative images need an empty alt attribute — our guide to decorative images shows how to decide.
  • Complex images — a chart flagged here also needs its data as a table or long description, which this audit cannot see.
  • Accuracy — a pass means the wording clears the mechanical rules, not that it is correct.

Frequently Asked Questions

Common questions about the Image Alt Text Auditor

A missing attribute means the alt code was never added, so a screen reader may announce the file name or skip the image without warning. An empty attribute (alt="") is a deliberate instruction that the image is decorative and should be skipped. The auditor treats a missing attribute as an error and an empty one as correct for decorative images — unless the image sits inside a link with no other text, where it flags the unnamed link.

Sources & References

Images tutorial

Explains what alt text should say, and when an image should have empty alt text.

Non-text Content 1.1.1

Every image needs a text alternative that serves the same purpose.