Alt text
Alt text describes an image for screen reader users and helps Google understand it. How to write it, when to leave it empty, and what counts as keyword stuffing.
Alt text is the value of an image's alt attribute, text that describes what the image shows. Screen readers can read it to people who can't see the image, and Google uses it, along with computer vision and the page's content, to understand the image. Google's guidance is to write useful, information-rich text that fits the page, and to avoid stuffing it with keywords.
Is this costing your site traffic?
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
- Free audit in 60 seconds
- Fixes drafted for your review
- ChatGPT, Perplexity, Gemini and AI Overviews tracked
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
- Re-check after big site changes
- Keep this page for reference
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
- Follow the steps below
- Top-traffic pages first
- Check again in a month
5 parts, 3 minutes.
What alt text is
<img src="dalmatian-puppy.jpg" alt="Dalmatian puppy playing fetch">How to write it
alt="puppy", to the best version, alt="Dalmatian puppy playing fetch".| Approach | Example | Quality |
|---|---|---|
| Missing alt attribute | <img src="puppy.jpg"> | No – Google's example of what to avoid |
| Keyword stuffed | alt="puppy dog baby dog pup pups puppies" | No – can look like spam |
| Basic | alt="puppy" | Better, per Google, but vague |
| Descriptive | alt="Dalmatian puppy playing fetch" | Yes – Google's best example |
Google warns that keyword stuffing in alt "results in a negative user experience and may cause your site to be seen as spam." Google gives no character limit. Many writers keep alt text to a short phrase or sentence because screen reader users hear all of it; treat that as style advice, not a rule.
Different image types
- 01Decorative images (spacers, purely visual flourishes): use an empty
alt="". The W3C says this lets them "be ignored by assistive technologies"; omitting the attribute can make some screen readers announce the file name instead. - 02Images used as links: Google says alt text is useful as anchor text if you use an image as a link.
- 03Inline SVG: Google says that for inline
<svg>elements you can use the<title>element. - 04CSS background images: Google says it doesn't index CSS images and finds images in the
srcattribute of<img>elements, so content images should not live in CSS. The W3C suggests CSS backgrounds only for decorative images.
How to check your site
- 1
Inspect one image
Right-click the image, choose Inspect, and look for the
altattribute on the<img>element. - 2
Search your templates
Search your theme or component code for
<imgtags withoutalt, and for templates that fillaltwith the file name or the page title for every image. - 3
Read it as a listener
Read the alt text out of context. If it does not tell a screen reader user what the image adds, rewrite it.
Common mistakes
alt off informational images.alt="".Asked a lot.
3 questions people ask next, answered from the sources on this page.
01Does alt text help SEO?
Google says it uses alt text, along with computer vision and the page's content, to understand an image, and that alt text works as anchor text when an image is a link. It also says to write for the page context, not for keywords. The accessibility benefit is the more reliable reason to write it well.
02What happens if an image has no alt text?
Google has no information from alt about the image. Screen reader users may get nothing useful, and per the W3C some screen readers announce the file name instead. For a decorative image, use an empty alt="" on purpose.
03How long should alt text be?
Google does not state a maximum. Aim for the shortest text that conveys what the image adds to the page, usually a phrase or one sentence.
Every fact, linked and dated.
google.com
w3.org
- 01Google Images SEO best practicesdevelopers.google.com · checked 2026-10-24
- 02Decorative images - W3C Web Accessibility Tutorialsw3.org · checked 2026-10-24
Know the term. Now check your site.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.
- 46 fixes shipped without a ticket Brightpipe
- +212% organic clicks in 90 days Ledgerly