Paste HTML to check alt copy

Paste HTML that contains <img> elements. The tool counts alt coverage, repeats, short texts, filename-like values and common generic words locally in the browser. No network, no upload, no dependencies.

Not checked yet.

Definitions

ItemDefinitionBoundary
Non-empty altalt exists and is non-empty after trimmingNo semantic judgement
Empty altalt=""A decorative image may be intentional
Missing altNo alt attributeSeparate from empty
RepeatedThe same text appears >1 timeDifferent images cannot be told apart
Short≤2 charactersSufficiency not judged
Filename-likeEnds with .jpg/.png and similarIMG_ without an extension is not counted
GenericExact match to a fixed listA lower bound

The tool only counts strings: repetition is not automatically wrong, and an empty alt may be decorative; results are for triage, not an accessibility compliance verdict.

Logic: js/alt-text-check.js (no dependencies, no network); scripts/test_alt_text_check.js covers 13 assertion groups (extraction, entities, empty/missing, repeats, short, filenames, generic, sorting, CSV escaping). Run:

node scripts/test_alt_text_check.js

Related: the article alt copy pilot, the article image attributes pilot, and the article image alt pilot.

About the author

Lingyi Information Official (delivery team) works on requirements, proposals and acceptance for corporate websites, brand and smart-manufacturing projects. This tool only counts strings; it does not judge image content, visual rendering or screen-reader output, and it is not an accessibility compliance verdict.

Check repeats before coverage

Paste HTML to see repeated, short and filename-like alt values; no network, CSV export.

Request a recheck plan