Back

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

Table 3 × 3
Alt text, file name and caption
ElementWherePurpose
Alt textalt attribute in the codeaccessibility and image search
File namename of the image filelight extra signal, name it descriptively
Captionvisible under the imagecontext 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."

Let's talk

Book a strategy call

Want to mark up your product images cleanly for image search and accessibility? Book a strategy call through the calendar: pick a slot. Or write to kontakt@seo-optimierung.agency.

Tim JamboulaOperator, SEO Optimierung

Pick a time

Frequently asked questions

Does every image need an alt text?

Every informative image yes, purely decorative images get an empty alt text so screen readers skip them. That keeps the page accessible without overloading users with pointless descriptions. Product images should always be described cleanly.

Does the alt text help ranking?

Indirectly yes. It is the basis for image search and a relevance signal for the page content. More important is its contribution to accessibility. It is not a place for keyword stacking, which hurts more than it helps.

How long should an alt text be?

Short and concrete, usually one or two meaningful sentences or a brief description. It should describe the image fully enough that a person without sight understands what is shown, but not turn into a wall of text.