Products SEO & GEO Agent Paid Ads Agent Website Agent Conversion Agent
How it works Pricing FAQ Blog Book a call

Alt text examples: good and bad, by image type

Updated · 6 min read

Short answer Good alt text depends on the job the image does. A photo gets a short description of what it shows. A logo gets the business name. A linked icon says where the link goes. A decorative image gets empty alt text. A chart gets a short label in the alt and its data written out on the page.

Want help applying this to your business? Talk it through on a free 30-minute call.

Book a call

What makes alt text good?

Ask what the image does on the page, then write the words that do the same job for someone who can't see it. Alt text is the short description stored with an image in the page code. Screen readers speak it aloud, it shows when an image fails to load, and Google reads it.

Google's own example sets the scale:

Alt textVerdict
(none)Bad
"puppy dog baby dog pup pups puppies doggies..."Bad: keyword stuffing
"puppy"Better
"Dalmatian puppy playing fetch"Best
"Avoid filling alt attributes with keywords (also known as keyword stuffing) as it results in a negative user experience and may cause your site to be seen as spam." (Google Search Central: Google image SEO best practices)

The rule underneath comes from WCAG (the Web Content Accessibility Guidelines), the accessibility standard, rule 1.1.1:

"All non-text content that is presented to the user has a text alternative that serves the equivalent purpose." (W3C: Understanding Success Criterion 1.1.1)

"Equivalent purpose" is why one photo can need different alt text on two pages. The examples below follow the W3C's image types and its alt decision tree.

Product and service photos

Describe what a customer would notice: the thing, its key detail, and what's happening. The W3C calls these informative images: the alt text "should convey the meaning or content that is displayed visually" (W3C WAI: Informative images).

ImageBadGood
Water heater install"plumber Denver water heater best plumber""Technician connecting a tankless water heater in a basement"
Kitchen remodel"IMG_4482""Remodeled kitchen with white shaker cabinets and quartz counters"
Product on a store page"product""Navy wool beanie with a folded cuff, front view"
Before-and-after photo"before and after""Lawn before and after aeration: patchy brown turf, then even green grass"
Team photo"our team""Five staff members in blue uniforms outside the clinic entrance"

A keyword is fine when it's simply the right word for what's in the photo ("tankless water heater"). A city name or "best" usually isn't in the photo, so it doesn't belong. More on that in keyword density.

Logos

Use the business name. Skip the word "logo". The W3C's own logo example uses just the organization's name, noting "There's no need to mention that it is a logo" (W3C WAI: Images of text).

Where the logo isBadGood
Header, not a link"logo.png" or "company logo""Rivera Plumbing"
Header, links to home page"logo""Rivera Plumbing home"
Partner or award badge"badge""BBB Accredited Business"

A linked logo becomes a link, so its alt text says where it goes. The W3C uses "W3C home" for that case (W3C WAI: Functional images).

Icons and buttons

Say what clicking does, not what the icon looks like. The W3C's alt for a printer icon link is "Print this page", and for a magnifying-glass search button, "Search" (W3C WAI: Functional images). Google adds that alt text on a linked image works as the link's anchor text (Google Search Central).

IconBadGood
Phone icon linking to a call"phone icon""Call (555) 010-2000"
Facebook icon in the footer"blue f""Facebook"
Menu icon (three lines)"hamburger""Menu"
Icon next to the word "Call us""phone"Empty: `alt=""` (the text already says it)

Decorative images

Use an empty alt: `alt=""`. Don't delete the attribute. Empty tells screen readers to skip the image. Missing is a gap: on a linked image, WebAIM warns screen readers may read the file name instead. The W3C decision tree says to use an empty alt when an image is "purely decorative or not intended for users," and when it repeats real text nearby (W3C WAI: An alt decision tree).

Decorative usually means: divider lines, background textures, stock photos that only set a mood, and a photo whose caption already says everything.

ImageBadGood
Wavy divider between sections"divider"`alt=""`
Stock photo of a handshake beside "Get a free quote""handshake"`alt=""`
Hero photo that shows your actual shop`alt=""`"Front counter of the bakery with fresh bread on display"

If the photo shows your real work, place or people, it's informative. Describe it.

Charts, graphs and infographics

Use two parts: a short label in the alt, and the full data in text on the page. The W3C calls this a "two-part text alternative" and gives this alt for a bar chart: "Bar chart showing monthly and total visitors for the first quarter 2025 for sites 1 to 3" (W3C WAI: Complex images).

ImageBadGood altPlus on the page
Price comparison chart"chart""Bar chart of average repair cost by appliance type"A table with the same numbers
Process infographic"infographic""Our four-step installation process"The four steps as a numbered list

Images of text

If the words appear only in the image, the alt repeats the words. The decision tree says to "include the text of the image" when it isn't present otherwise; if the same text is on the page as real text, use an empty alt (W3C WAI: An alt decision tree).

ImageBadGood
Promo banner "20% off spring tune-ups""spring sale banner""20% off spring tune-ups"
Screenshot of a 5-star review"review""5 stars: 'They fixed our furnace the same day.' Maria G."
Slogan in a fancy font"slogan graphic"The slogan's words only, no font description

Better still: put the words on the page as real text, which the W3C prefers because it scales cleanly (W3C WAI: Images of text).

How long should alt text be?

No Google page or W3C standard sets a character limit. WebAIM, the accessibility center at Utah State University, says "Typically, only a few words are necessary, though rarely a short sentence or two may be appropriate" (WebAIM: Alternative Text). The common "125 characters" rule comes from neither source; treat it as a rough habit, not a rule.

Skip "image of" or "picture of". WebAIM notes screen readers "already announce 'graphic'" along with the alt text (WebAIM). The exception: when the format matters, such as "Painting of the original 1920 storefront".

Example

A plumber's service page

The page has 8 images: a logo, a phone icon, 4 job photos and 2 stock photos of smiling families. The fix, in the site builder's image settings: logo gets "Rivera Plumbing home", the phone icon "Call (555) 010-2000", each job photo one line on what it shows, and both stock photos `alt=""`.

An online shop with 200 products

Every product image used the product name, so color variants all read "Wool beanie". Rewriting each to add the color and view ("Navy wool beanie, side view") gives shoppers using screen readers the detail sighted shoppers see.

FAQ

Does alt text help SEO?

Yes, for images. Google calls alt text the most important attribute for image metadata and uses it with computer vision and the page's text to understand an image (Google Search Central). The clearest payoff is in Google Images and on linked images, where it acts as anchor text.

Should every image have alt text?

Every image should have the alt attribute. Images that carry meaning get words; decorative ones get it empty (`alt=""`).

Is alt text the same as an image title or caption?

No. A caption is visible to everyone; alt text replaces the image for people who can't see it. WebAIM advises not repeating the caption in the alt (WebAIM).

Can AI write my alt text?

It can draft a description of what's in the photo, but it can't know the image's job on your page. Check each one against the tables above, especially logos, icons and decorative images.

Different for you?

Keep learning

NextBest image format for websites: JPEG, PNG, SVG, WebP, AVIFWhich image format to use for photos, logos, icons and screenshots, how WebP and AVIF compare with JPEG and PNG, and what Google Search reads.

Do it yourself

On-page SEO checklist: every item to check before publishingA pre-publish on-page SEO checklist for one new page: content, title, headings, URL, images, links, indexing, mobile and speed, plus what to do after launch.

Ask us one question

One line is enough. We reply by email.

Sources

  1. Google Search Central: Google image SEO best practices
  2. W3C WAI: Images tutorial
  3. W3C WAI: An alt decision tree
  4. W3C WAI: Informative images
  5. W3C WAI: Functional images
  6. W3C WAI: Images of text
  7. W3C WAI: Complex images
  8. W3C: Understanding WCAG 2.2 Success Criterion 1.1.1 Non-text Content
  9. WebAIM: Alternative Text