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.