What is Alt Text?
Alt text (alternative text) is an HTML attribute added to image tags that describes the content of an image. It serves two purposes: accessibility (screen readers read alt text to visually impaired users) and SEO (it tells search engines what an image depicts, since they can't truly 'see' images). Good alt text improves image search rankings, contributes to page relevance, and is required for accessibility compliance.
- Alt text should describe what's in the image specifically and concisely — not stuff keywords.
- Decorative images (dividers, background patterns) should have empty alt text (alt='') so screen readers skip them.
- In Next.js, the next/image component requires an alt prop — making good alt text a mandatory practice.
- Images without alt text are invisible to Google Image Search — a meaningful source of traffic for visual content.
- Alt text is one of the fastest accessibility and SEO wins: audit missing alt text with any crawler and fix in bulk.
Writing Good Alt Text
Describe what you actually see: 'Bar chart showing organic traffic growth from 1,000 to 15,000 monthly visitors between January and December 2024' is good alt text. 'Graph' is not. 'SEO traffic growth chart keyword keyword' is keyword stuffing.
Be specific about context: 'Person using Google Search Console on a laptop' is more useful than 'person on laptop'. The alt text should convey what a sighted user would take from the image.
For product images: include the product name, key attributes, and colour. 'Nike Air Max 90 running shoe in white and black, side profile view' is complete.
Keep it under 125 characters when possible — screen readers typically truncate at that length.
Alt Text and SEO
Google uses alt text as a primary signal for understanding image content. Pages with descriptive alt text on relevant images rank better in image search and the images can appear in Google Discover and visual carousels.
Alt text also contributes to overall page relevance — an article about Core Web Vitals with an image alt-texted 'screenshot of PageSpeed Insights score' reinforces the page's topical relevance.
For programmatic SEO sites: if you're auto-generating pages, ensure alt text is also generated dynamically based on image content, not left as a generic placeholder or left empty.
Most guides are already outdated.
One email a week. The search stuff that actually matters — what shifted, what died, and what to do about it.
Subscribe free →| Weak Alt Text | Strong Alt Text |
|---|---|
| graph | Bar chart showing organic traffic growth from 1,000 to 15,000 monthly visitors, Jan–Dec 2024 |
| shoes | Nike Air Max 90 running shoe in white and black, side profile view |
| screenshot | Screenshot of PageSpeed Insights showing a Core Web Vitals score of 94 on mobile |
| team photo | Five-person marketing team collaborating around a whiteboard in an open-plan office |
| logo | Acme Corp logo — blue circle with white letter A and company name in sans-serif font |
There is a critical difference between alt="" (empty, intentional — tells screen readers the image is decorative and to skip it) and a missing alt attribute entirely (causes screen readers to read out the file name, creating a poor experience). Always include the alt attribute on every image tag; use empty string only for images that add no informational value.
How does your site score on SEO?
Paste your URL. Get a score and a fix list across all three disciplines. No form, no email.
Run Free Audit →Frequently Asked Questions
It contributes to image search rankings and reinforces page relevance, but it's not a primary organic ranking factor. The bigger SEO impact of alt text is accessibility compliance (which affects E-E-A-T signals) and image search traffic. The biggest impact is simply not having a common technical issue flagged in audits.
SVG images inline in HTML can have a title element for accessibility. CSS background images have no alt text equivalent — any image that conveys meaningful information should be an HTML img element, not a CSS background. Pure decorative images are fine as CSS backgrounds.
- 1.Google — Image SEO best practices
- 2.WebAIM — Alternative Text guide
- 3.Next.js — Image component documentation
Read next
Technical SEO
Technical SEO is the practice of optimising the infrastructure of your website so search engines can efficient…
Core Web Vitals
Core Web Vitals are a set of three Google-defined metrics that measure real-world user experience on a webpage…
Schema Markup
Schema markup (structured data) is code you add to your web pages — typically in JSON-LD format — that explici…
E-E-A-T
E-E-A-T stands for Experience, Expertise, Authoritativeness, and Trustworthiness. It's a framework from Google…