Alt text: definition, value for SEO and accessibility
On this page
What is the alt text?
The alt text is the alternative text description of an image in the HTML alt attribute. It describes what the image shows. Screen readers read it aloud, and it appears when an image fails to load. For SEO it helps search engines understand the image content and is the basis for ranking in image search.
In SEO work it is one of the often forgotten on-page basics.
Context
The alt text sits at the intersection of accessibility and SEO. Its original purpose is access: people using a screen reader learn from the alt text what an image shows. Search engines use that same description, because they cannot reliably read image content from pixels. For shops with many product images this is doubly relevant: alt texts improve accessibility, unlock traffic from image search and strengthen a page's topical relevance.
Mechanics
The alt text sits as the alt attribute in the img tag. A good alt text describes the image briefly and concretely, from the point of view of what it means to the viewer. It names the relevant subject, for products the product name and key features, without keyword stacking. Purely decorative images with no informational value get an empty alt text so screen readers skip them. The alt text does not replace the file name or the caption, it complements them. If it is missing, the page loses accessibility and an image-search signal.
Example
Weak: alt equals "IMG_4821" or alt equals "shoe shoe running shoe buy cheap". Good: alt equals "Blue women's running shoe with cushioned sole, side view". This description tells the screen reader and search engine exactly what is shown, names the relevant subject naturally and avoids forced keywords.
Alt text, file name and caption
| Element | Where | Purpose |
|---|---|---|
| Alt text | alt attribute in the code | accessibility and image search |
| File name | name of the image file | light extra signal, name it descriptively |
| Caption | visible under the image | context for readers |
Benchmark and common misconception
Benchmark, schematic: a good alt text describes the image content in a few meaningful words, usually under roughly 125 characters, with no fixed rule. Common misconception: that alt text is a keyword slot. It is first a description for screen readers and only through that a ranking signal. Stuffing keywords harms accessibility and image search at once.
Resources
Use-Cases
- Retrofit alt texts across a whole product catalogue where images went online without markup.
- Find and close missing or empty alt attributes systematically before a relaunch.
- Unlock traffic from Google Images for visual products like fashion or furniture.
- Ensure accessibility for screen reader users and meet legal requirements.
- Separate decorative images with an empty alt text from informative ones on purpose.
Tools
- Screaming Frog: crawls the shop and lists every image with missing or overlong alt text.
- Sitebulb: shows image issues visually in the audit and prioritises them by page type.
- Ahrefs: finds images without an alt attribute across the whole domain in the site audit.
- Semrush: checks alt texts in its Site Audit as part of the on-page checks.
- Moz Pro: reports missing alt attributes in the page analysis.
Free Tools
- Google Search Console: shows which images get impressions in image search.
- Google Images: checks directly how and whether your product images are found.
- Lighthouse: flags images without alt text in the accessibility audit.
AI Skills
- AI-assisted alt-text drafts: have a short, concrete alt text suggested from an image description, then check it yourself. "Write an alt text under 125 characters for a product image showing a blue women's running shoe with a cushioned sole from the side, without keyword stacking."