Definition, HTML syntax, ideal length and what it changes for SEO.
Alt text (alternative text) is a written description of an image, stored in the alt attribute of the HTML <img> tag. Screen readers read it aloud, search engines use it to understand the image, and browsers display it when the file fails to load. Good alt text runs 5 to 15 words.
The attribute lives inside the image tag: <img src="shoe.jpg" alt="Red trail running shoe, side view">.
Nothing shows on the page itself. The text waits in the markup for whoever needs it: a screen reader, a search engine crawler or a browser stuck with a broken image.
Screen reader users hear the alt text in place of the image. WCAG 2.1, success criterion 1.1.1, requires a text alternative for every informative image, and the European Accessibility Act applies since 28 June 2025.
Alt text is the main signal search engines use to understand what an image shows. It also feeds rankings in Google Images.
When a file breaks or a connection drags, the browser prints the alt text where the image should be. Visitors still get the information.
Aim for 8 to 125 characters, which lands around 5 to 15 words. Below 8 characters the description carries too little to be useful. Past 125, some screen readers truncate the text mid-sentence.
Those two thresholds are exactly what our checker tests, along with generic wording and duplicates.
images audited in 2026 for our benchmark
had no alt text at all
average alt quality score
median score across audited images
Three fields with different jobs. Only one of them matters for accessibility.
| Attribute | Who gets it | Required? | SEO weight |
|---|---|---|---|
| Alt text | Screen readers, search engines, anyone whose image fails to load | Yes for informative images (WCAG 2.1, criterion 1.1.1) | Direct |
| Title | Tooltip on hover; skipped by most screen readers | No | Negligible |
| Caption | Visible to every visitor, under the image | No | Indirect |
It is the main way search engines understand image content, and it counts toward image rankings. Stuffing keywords into it backfires: the text stops describing the image and both accessibility and rankings suffer. Write for the reader first.
A decorative icon that repeats the text next to it takes an empty alt (alt=""). A meaningful icon, like a trash can that deletes a file, needs an alt that names the action, "Delete" for example.
The principle carries over: describe the image for people who will hear it instead of seeing it. Each platform then places the field its own way, with its own length limits.
We keep a full page of alt text examples, good and bad, sorted by image type. The patterns come from real audits.
The full FAQ covers the checker, the score, the plugin and how your data is handled.
Paste a URL into the free checker and every image comes back scored out of 100. The full method sits in our alt text benchmark.
Alt text audit and bulk management for WordPress. Quality score, bulk fixing, accessibility. Built in France by Lyode.
★★★★★ 5/5 on WordPress.org
© 2026 Filikod — WordPress plugin licensed under GPLv2.
EN / FR