# 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.

Canonical: https://scaplet.com/glossary/alt-text

Glossary Glossary · On-page SEO

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.

3 min

read

2

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

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.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Falt-text%20(%22Alt%20text%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Falt-text%20(%22Alt%20text%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Falt-text%20(%22Alt%20text%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Falt-text%20(%22Alt%20text%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 3 minutes.

1. [What alt text is 01](#what-alt-text-is)
2. [How to write it 02](#how-to-write-it)
3. [Different image types 03](#different-image-types)
4. [How to check your site 04](#how-to-check-your-site)
5. [Common mistakes 05](#common-mistakes)

_01_Check it

## What alt text is

Google calls alt text "text that describes an image" and says it is the most important attribute for giving an image metadata. It also "improves accessibility for people who can't see images on web pages, including users who use screen readers or have low-bandwidth connections."

Alt text on an image

```
<img src="dalmatian-puppy.jpg" alt="Dalmatian puppy playing fetch">
```

_02_Side by side

## How to write it

Google's instruction: "When writing alt text, focus on creating useful, information-rich content that uses keywords appropriately and is in context of the content of the page." Its own examples run from missing, to `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](/glossary/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.

_03_Checklist

## Different image types

1. 01 Decorative 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.
2. 02 Images used as links: Google says alt text is useful as [anchor text](/glossary/anchor-text) if you use an image as a link.
3. 03 Inline SVG: Google says that for inline `<svg>` elements you can use the `<title>` element.
4. 04 CSS background images: Google says it doesn't index CSS images and finds images in the `src` attribute of `<img>` elements, so content images should not live in CSS. The W3C suggests CSS backgrounds only for decorative images.

_04_How it works

## How to check your site

Check images that matter for content first: product photos, hero images, charts.

1. 1

### Inspect one image

Right-click the image, choose Inspect, and look for the `alt` attribute on the `<img>` element.
2. 2

### Search your templates

Search your theme or component code for `<img` tags without `alt`, and for templates that fill `alt` with the file name or the [page title](/glossary/title-tag) for every image.
3. 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.

_05_Checklist

## Common mistakes

First_2_
Leaving `alt` off informational images.

Repeating the same keyword phrase as alt text on every image.

Next_1_
Repeating adjacent text word for word. The W3C says an image already described by adjacent text can use an empty `alt=""`.

Then_1_
Treating a content image as decorative. The W3C says only the author can decide, based on why the image is on the page.

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ Does 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.

_02_ What 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.

_03_ How 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.

Sources · 2

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- w3.org

1. 01 [Google Images SEO best practices](https://developers.google.com/search/docs/appearance/google-images) developers.google.com · checked 2026-10-24
2. 02 [Decorative images - W3C Web Accessibility Tutorials](https://www.w3.org/WAI/tutorials/images/decorative/) w3.org · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn Image SEO On-page SEO](/glossary/image-seo) [Related Lazy loading Performance](/glossary/lazy-loading) [Read next Anchor text On-page SEO](/glossary/anchor-text) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[AI search](/glossary/ai-search) [AI visibility](/glossary/ai-visibility) [Amazon SEO](/glossary/amazon-seo)

More in On-page SEO
[Rich results](/glossary/rich-results) [Search snippet](/glossary/snippet) [Semantic HTML](/glossary/semantic-html) [SERP](/glossary/serp) [SERP features](/glossary/serp-features) [Sitelinks](/glossary/sitelinks) [Thin content](/glossary/thin-content) [Title tag](/glossary/title-tag) [URL length](/glossary/url-length) [URL slug](/glossary/url-slug) [Video SEO](/glossary/video-seo) [Word count](/glossary/word-count) [Alt text](/glossary/alt-text) [Anchor text](/glossary/anchor-text) [Breadcrumbs](/glossary/breadcrumbs) [Content freshness](/glossary/content-freshness) [External links](/glossary/external-links) [Favicon](/glossary/favicon) [Featured snippet](/glossary/featured-snippet) [Flesch Reading Ease](/glossary/flesch-reading-ease) [H1 tag](/glossary/h1-tag) [Heading tags](/glossary/heading-tags) [Image SEO](/glossary/image-seo) [Image sitemap](/glossary/image-sitemap)

Terms on this page
[Keyword stuffing](/glossary/keyword-stuffing) [Anchor text](/glossary/anchor-text) [Title tag](/glossary/title-tag)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
