Image SEO and alt text: what Google and WCAG ask for
Alt text was written for people who cannot see the image. Google reads it for the same reason: it cannot see the image either.
Use HTML img elements, not CSS backgrounds, with descriptive file names, alt text, captions where useful, and explicit width and height. Write alt text that says what the image shows in context, in a sentence, and leave it empty for purely decorative images. Serve sizes that suit phones with srcset or picture.
Google's image guidance is mostly about making images findable and understandable: use standard HTML image elements rather than CSS backgrounds, give images descriptive file names, put them near relevant text, add alt text, and supply responsive versions with srcset or the picture element. The accessibility standard, WCAG, asks for the same alt text for a different reason: a text alternative that serves the same purpose for people who cannot see the image. When one piece of text serves both, write it for the person. Images are the media item on our technical SEO checklist.
Writing alt text
The W3C's alt decision tree starts with one question: does the image contain information? If it is purely decorative, the alt attribute should be present but empty, so screen readers skip it. If it conveys something, describe what it shows that matters in this context, briefly.
| Image | Weak alt | Better alt |
|---|---|---|
| Product photo | kurta | Indigo cotton kurta with white block-print buttons, front view |
| Chart in an article | chart | Line chart: Black Friday searches in India roughly doubled between 2022 and 2025 |
| Team photo on a careers page | team image best agency Mumbai | Six people around a table reviewing printed layouts |
| Divider flourish | decorative line | Empty alt |
Keyword lists in alt text help nobody; they read badly aloud and add nothing a crawler cannot already see in the page text.
The technical half
- Width and height on every image, so the browser reserves space and the layout does not jump; this is the main defence against layout shift in Core Web Vitals.
- Sizes for phones through srcset, and modern formats such as WebP where supported.
- Lazy loading below the fold only. Google's lazy-loading guidance asks that lazy content load as it enters the viewport, and the hero image should not be lazy at all.
- Short descriptive file names, with words separated by hyphens.
- Structured data for products and articles references the main image; see schema markup.
Our own audit
We counted every img element in colleviate.com's generated pages on 5 December 2026: 47 in all. Every one has alt text, none has an empty alt by mistake, and all 47 declare width and height. 19 load lazily; the rest are above the fold, where lazy loading would delay the largest paint. Our illustrated articles describe the scene in the alt text in a sentence, the way we brief the artwork itself; our photography direction brief explains how the brief and the description come from the same thinking.
Sources
- Google image SEO best practices, Google Search Central, undated
- Understanding Success Criterion 1.1.1: Non-text Content, W3C WAI, undated
- An alt decision tree, W3C WAI, undated
- Fix lazy-loaded website content, Google Search Central, undated
- Colleviate technical check of colleviate.com (site build and live HTTP responses), Colleviate, 5 Dec 2026
Questions we get asked
How long should alt text be?
As short as it can be while saying what matters about the image in context. A clear sentence is usually enough.
Should decorative images have alt text?
They should have an empty alt attribute so screen readers skip them, as WCAG guidance and the W3C decision tree advise.
Does Google index CSS background images?
Google recommends standard HTML image elements; it says it does not index CSS images for image search.
Should I lazy-load every image?
No. Lazy-load images below the fold. The main image at the top should load straight away.
Thousands of product images and no alt text?
We set the rules, write the first batch and build the template so new images arrive described.
Ask for a scoped auditWhat we do · How we produce it · Who we do it for · Talk to us