Rank Frame Logo

Features

Plugin

Company

Resouces

Rank Frame Logo

8 min read

SEO Fundamentals

What is Alt Text? Why It Matters for SEO and Accessibility (2026)

Alt text describes an image to screen readers and search engines. It's one of the highest-leverage on-page SEO improvements. Here's how to write it well at scale.

7 Seers

Team 7 Seers

Creators of

and

SH

Table of Content

No headings found on page

What is Alt Text? Why It Matters for SEO and Accessibility (2026)

What is Alt Text?

Alt text is the value of the alt attribute on an HTML <img> element. It is a text alternative that describes the image's content and function for users and machines that cannot see the image. It does three jobs: screen readers announce it to visually impaired users; search engines read it to index the image and connect it to relevant queries; and browsers display it as fallback text if the image file fails to load.

The alt attribute is required on every <img> element by the HTML specification. The value can be a descriptive string for informative images, or an empty string (alt="") for purely decorative images that should be skipped by screen readers. What is never acceptable is omitting the attribute entirely.

Why Alt Text Matters for Accessibility

Roughly 2.2 billion people worldwide live with some form of vision impairment. Many use screen readers to navigate the web. When a screen reader encounters an <img> element, it reads the alt text aloud. Without alt text, the user either hears the image file name (which often looks like "IMG_4382.jpg") or nothing at all.

WCAG 2.1 Success Criterion 1.1.1 requires that all non-text content have a text alternative that serves an equivalent purpose. This is a Level A requirement, the most basic level of accessibility compliance.

Legal compliance

  • United States: The ADA has been interpreted by courts to apply to commercial websites. WCAG 2.1 Level AA is the de facto compliance standard.

  • European Union: The European Accessibility Act, in force since June 2025, requires most consumer-facing digital services to meet WCAG 2.1 Level AA.

  • United Kingdom: The Equality Act 2010 requires reasonable accessibility accommodations on UK websites.

Missing alt text is one of the most commonly cited issues in accessibility lawsuits because it is easy to detect with automated tools and undeniably violates WCAG 1.1.1.

Why Alt Text Matters for SEO

Alt text is one of the highest-leverage on-page SEO improvements you can make. Search engines cannot "see" images the way humans do. The alt text remains the most reliable signal Google uses to understand what an image depicts and how it relates to the surrounding page content.

Google Image Search ranking

Google Image Search drives substantial referral traffic for many sites. Pages with descriptive, accurate alt text rank better in Google Image results for related queries. A product page with alt text "blue running shoes for women size 8" can appear in image searches for that exact query.

Topical relevance for the parent page

Google reads alt text as part of the page's overall content. Images with alt text mentioning the page's topic reinforce topical relevance and can help the page rank better for text-based queries, not just image queries.

Documented as a Google ranking signal

Google has publicly stated in its Search Central documentation that descriptive alt text helps Google understand image subject matter. Unlike many SEO claims, this is officially confirmed rather than inferred.

How to Write Good Alt Text

Be specific and descriptive

Describe what the image actually shows in enough detail that someone who cannot see the image gets the same information as someone who can. "Dog" is too vague. "Golden retriever puppy sitting in a field of yellow dandelions" is specific.

Include keywords naturally

If the image relates to a keyword you want the page to rank for, include that keyword in the alt text naturally. Do not stuff multiple keywords or write alt text that reads like a keyword list. Keyword stuffing in alt text can trigger algorithmic penalties.

Keep it under 125 characters

Most screen readers cut off alt text at around 125 characters. Aim for one descriptive sentence. If an image needs more explanation, the additional information belongs in a caption or body text, not in the alt attribute.

Do not start with "image of" or "picture of"

Screen readers already announce the element as an image before reading the alt text. Starting with "image of" is redundant and wastes characters.

Consider context

The same image can warrant different alt text on different pages. A coffee cup photo on a cafe homepage might get "espresso in a white ceramic cup on a wooden cafe table." The same photo on a product page might get "white ceramic espresso cup, 6 ounce capacity, dishwasher safe."

Decorative images get empty alt

Background patterns, dividers, decorative icons, and any image that adds no informational value should use alt="". This explicitly tells screen readers to skip the image.

Examples of Good vs Bad Alt Text

Image

Bad alt text

Good alt text

Product photo of a leather wallet

alt="wallet"

alt="Brown leather bifold wallet with embossed initials, open to show six card slots"

Photo of a chef plating pasta

alt="image of chef cooking"

alt="Chef garnishing a plate of spaghetti carbonara with fresh black pepper"

Logo of a company called Acme Corp

alt="logo"

alt="Acme Corp logo"

Decorative geometric pattern in a hero section

alt="background pattern"

alt=""

Screenshot of a SaaS dashboard

alt="screenshot"

alt="RankFrame dashboard showing keyword rankings, page audit scores, and indexing status for a Framer site"

Decorative Images and Empty Alt

Not every image on a page is informative. Background patterns, dividers, and decorative icons that add no informational value should use alt="". This explicitly tells screen readers to skip the image. Adding meaningless alt text like "decoration" or "background" creates noise for screen reader users without providing any benefit.

Alt Text vs Title Attribute vs Filename

Attribute

Purpose

SEO impact

alt (alt text)

Text alternative for screen readers and image-load failures. Required on every img element.

High. Direct ranking signal for image search and topical relevance.

title (title attribute)

Tooltip text shown on hover. Optional and rarely necessary.

Minimal. Not consistently read by screen readers, not visible on touch devices.

File name (image src)

The actual file name of the image, e.g. blue-running-shoes.jpg.

Minor. Google reads file names as a weak signal. Use descriptive hyphenated names.

How to Audit Alt Text on a Site

Google Lighthouse

Lighthouse, built into Chrome DevTools, includes an Accessibility audit that flags every image missing an alt attribute. Open DevTools, click the Lighthouse tab, check Accessibility, and run the audit.

axe DevTools

A free Chrome and Firefox extension that catches missing alt text, empty alt that should be descriptive, and decorative images that should have empty alt but do not. Generally considered the gold standard for in-browser accessibility testing.

WAVE

WAVE by WebAIM provides a visual overlay showing accessibility issues directly on the page. Missing alt text appears as a red icon on the affected image. Available as a Chrome extension and at wave.webaim.org.

Screaming Frog and site crawlers

For full-site audits, a site crawler like Screaming Frog scans every page, lists every image, and reports the alt attribute (or its absence) for each one. Filter by "missing alt text" to find specific problems quickly.

If You Have a Framer Site

Framer provides an Alt Text field on every image component placed on the canvas. Select the image element, open the right-side properties panel, scroll to the Accessibility section, and type your alt text. For decorative images, leave the Alt Text field empty and Framer outputs alt="". For CMS images, add an Alt Text field to your CMS collection schema and bind the image component's Alt Text property to that field.

The problem is scale. A typical Framer site has dozens or hundreds of images spread across canvas pages and CMS collections. Manually auditing every image is impractical inside the Framer editor (see our guide on adding alt text to Framer images at scale), which has no list view of all images on the site, no missing-alt warning, and no way to edit alt text in bulk.

RankFrame Image SEO solves the audit problem with a built-in module that scans every image on your Framer site, both Canvas images and CMS images, and reports which ones are missing alt text, which have generic or duplicate alt text, and which have alt text outside the recommended length range. For sites with significant alt text gaps, RankFrame includes AI-powered alt text generation. Click Generate on any image (or run bulk generation across all flagged images), and RankFrame analyzes the image content and the surrounding page context to draft descriptive, SEO-friendly alt text for each one.

Frequently asked questions

Do all images need alt text?

Every img element in HTML must include an alt attribute, but the value depends on the image's purpose. Informative images that convey meaning need descriptive alt text. Decorative images that exist only for visual styling and have no informational value should use an empty alt attribute (alt=""), which tells screen readers to skip the image entirely. The alt attribute itself should always be present on every img tag because missing alt attributes cause screen readers to read the file name aloud, which is almost always worse than no description.

How long should alt text be?
How long should alt text be?

Keep alt text under 125 characters. Most screen readers cut off alt text at around 125 characters, after which the user has to navigate manually to hear the rest. Aim for one descriptive sentence that captures the essential meaning of the image in context. If an image needs more explanation than 125 characters allow, consider whether the additional information should appear as a caption or as body text near the image rather than as alt text.

How long should alt text be?

Keep alt text under 125 characters. Most screen readers cut off alt text at around 125 characters, after which the user has to navigate manually to hear the rest. Aim for one descriptive sentence that captures the essential meaning of the image in context. If an image needs more explanation than 125 characters allow, consider whether the additional information should appear as a caption or as body text near the image rather than as alt text.

What is the difference between alt text and image title?
What is the difference between alt text and image title?

Alt text (the alt attribute) is the alternative description used by screen readers and shown when an image fails to load. The title attribute is a tooltip that appears when a user hovers their mouse over the image. The two serve different purposes and should not be confused. Alt text is essential for accessibility and SEO. The title attribute is largely cosmetic, is not read by most screen readers, is not visible to mobile users (no hover), and has minimal SEO value. Always set alt text. The title attribute is optional and rarely necessary.

What is the difference between alt text and image title?

Alt text (the alt attribute) is the alternative description used by screen readers and shown when an image fails to load. The title attribute is a tooltip that appears when a user hovers their mouse over the image. The two serve different purposes and should not be confused. Alt text is essential for accessibility and SEO. The title attribute is largely cosmetic, is not read by most screen readers, is not visible to mobile users (no hover), and has minimal SEO value. Always set alt text. The title attribute is optional and rarely necessary.

Does alt text help SEO?
Does alt text help SEO?

Yes. Alt text is one of the primary signals Google uses to understand what an image depicts and how it relates to the surrounding page content. Pages with descriptive alt text rank better in Google Image Search, which can drive significant referral traffic for visual content like product images, infographics, and recipes. Alt text also reinforces the topical relevance of the page itself, helping the page rank for related text queries. Alt text is a documented Google ranking factor and one of the highest-leverage on-page SEO improvements available.

Does alt text help SEO?

Yes. Alt text is one of the primary signals Google uses to understand what an image depicts and how it relates to the surrounding page content. Pages with descriptive alt text rank better in Google Image Search, which can drive significant referral traffic for visual content like product images, infographics, and recipes. Alt text also reinforces the topical relevance of the page itself, helping the page rank for related text queries. Alt text is a documented Google ranking factor and one of the highest-leverage on-page SEO improvements available.

How do I add alt text in HTML?
How do I add alt text in HTML?

Add the alt attribute directly to the img tag. The full syntax is: <img src="image.jpg" alt="Description of the image here" />. The value of the alt attribute is the alt text. For decorative images that should be skipped by screen readers, use an empty value: <img src="divider.jpg" alt="" />. In CMS platforms and visual builders like Framer, WordPress, and Webflow, you do not edit raw HTML. Instead, the platform exposes an Alt Text or Image Description field in the image properties panel, and the platform writes the alt attribute to the rendered HTML for you.

How do I add alt text in HTML?

Add the alt attribute directly to the img tag. The full syntax is: <img src="image.jpg" alt="Description of the image here" />. The value of the alt attribute is the alt text. For decorative images that should be skipped by screen readers, use an empty value: <img src="divider.jpg" alt="" />. In CMS platforms and visual builders like Framer, WordPress, and Webflow, you do not edit raw HTML. Instead, the platform exposes an Alt Text or Image Description field in the image properties panel, and the platform writes the alt attribute to the rendered HTML for you.

What is empty alt text used for?
What is empty alt text used for?

Empty alt text (alt="") tells screen readers to skip the image entirely because it is purely decorative and conveys no information. Use it for background patterns, dividers, decorative icons next to text labels, and any image that exists for visual styling rather than communication. Empty alt is different from missing alt: missing alt causes screen readers to fall back to reading the file name, while empty alt is an explicit signal that the image should be ignored. Always include the alt attribute even when its value is empty.

What is empty alt text used for?

Empty alt text (alt="") tells screen readers to skip the image entirely because it is purely decorative and conveys no information. Use it for background patterns, dividers, decorative icons next to text labels, and any image that exists for visual styling rather than communication. Empty alt is different from missing alt: missing alt causes screen readers to fall back to reading the file name, while empty alt is an explicit signal that the image should be ignored. Always include the alt attribute even when its value is empty.

Rank Frame Logo
Product

Features

Company
Resources

@2026 All Rights Reserve. A Product by 7 SEERS

Rank Frame Logo
Product

Features

Company
Resources

@2026 All Rights Reserve. A Product by 7 SEERS

Rank Frame Logo
Product

Features

Company
Resources

@2026 All Rights Reserve. A Product by 7 SEERS