Search all pages  ·  Press Esc to close  ·  ↑↓ to navigate
Content Strategy Local SEO GMB Prompts Technical SEO E-E-A-T Guest Post GA4 Analytics
Image SEO · AlgoBlueprints · November 2026

What Is Alt Text? Meaning, Examples and How to Write It

Add as Preferred Source on Google
Table of Contents

What is alt text? It is a short written description of an image, added to the page's HTML through the alt attribute, so screen readers can read the image aloud and search engines can understand what it shows. If the image fails to load, the browser shows the alt text in its place.

Key takeaways

What alt text looks like in the code

Alt text lives inside the image tag:

<img src="black-leather-office-chair.jpg" alt="Black leather office chair with chrome base and padded armrests">

You rarely need to touch the code. WordPress, Shopify, Wix, Squarespace and most other platforms have an "Alt text" or "Alternative text" field in the media library. Word, PowerPoint, Instagram, LinkedIn and X also have alt text fields for the images you post.

People often mix alt text up with three other image fields. Here is how I explain the difference to clients:

Field Who sees it What it is for
Alt text (alt) Screen reader users, search engines, anyone whose image fails to load A replacement for the image when it can't be seen
Caption Every visitor, printed under the image Extra context, credits or commentary
Title attribute (title) Mouse users as a hover tooltip, in some browsers Optional extra info; not a substitute for alt text
File name Search engines, and anyone who downloads the image A short label for the file itself

Why alt text is important for images

Woman with headphones reading a refreshable braille display connected to a laptop at a home office desk
Screen reader and braille display users hear or feel your alt text instead of seeing the image.

Alt text does three jobs.

  1. Accessibility. Blind and low-vision users rely on screen readers. When the reader reaches an image, it announces the alt text. With no alt attribute, many screen readers fall back to reading the file name, so the user hears something like "IMG underscore 4021 dot jpg". WebAIM's alt text guide covers this behaviour.
  2. Fallback. On a slow connection, a broken image link or with images blocked, the browser shows the alt text instead of the image.
  3. Search understanding. Google's image SEO best practices say Google uses alt text along with computer vision and the content of the page to work out what an image is about.

Where does alt text appear?

For most sighted visitors, it doesn't appear at all. Alt text is invisible on a normal page load. It shows up in these places:

If you want to see it for yourself, right-click an image, choose "Inspect" and look for alt="..." in the highlighted tag.

Does alt text help SEO?

Yes, but in a narrower way than many SEO blogs suggest. Here's what Google's own documentation supports:

What alt text won't do is lift a weak page into the top three for a competitive keyword. I treat it as a basic hygiene item: missing alt text across a site is a sign that nobody has looked at the images properly, and fixing it helps image search and accessibility together.

Google is clear on keyword stuffing. Its own example of a bad alt attribute is a list of puppy synonyms, and it warns this can make your site look spammy. Its "best" example is simply "Dalmatian puppy playing fetch". My rule of thumb: if the keyword describes what is in the image, use it once. If it doesn't, leave it out.

How to write good alt text

This is the process I use when writing alt text for client sites.

  1. Ask why the image is there. A photo of a team at a desk could be there to show the office, a specific person, or just to break up text. The answer changes the alt text.
  2. Describe what matters in this context. The W3C images tutorial and Harvard's digital accessibility guidance both stress context: the same image can need different alt text on different pages.
  3. Put the important words first. Screen reader users can skip ahead, so lead with the subject.
  4. Skip "image of" and "picture of". Screen readers already announce that it is an image. Do say "logo", "illustration", "chart" or "screenshot" when the type matters.
  5. Include any text that is in the image. If a banner says "Free delivery over ₹999", the alt text should say the same.
  6. Don't repeat the text next to it. If the caption already says everything, a short alt text or an empty one is fine.
  7. Read it aloud. If it sounds odd spoken, or you'd skip it as a listener, rewrite it.

How long should alt text be?

There is no official character limit. You'll often read that screen readers cut alt text off at 125 characters. Accessibility specialist Eric Eggert has explained why that's a myth: JAWS splits long alt text into chunks rather than cutting it.

That said, short is still better. WebAIM says that typically only a few words are needed, and rarely a sentence or two. My working range is 5 to 15 words, or under about 150 characters. If I need more than that, the image is probably a chart or diagram, and the detail belongs in the body text or a table next to it, with a short alt text that names what the chart shows.

Can alt text be too long? Yes. A paragraph of alt text is tiring to listen to, can't be skimmed and starts to look like keyword stuffing to a search engine.

Which images need alt text?

Every <img> needs an alt attribute. Not every image needs words in it. The W3C alt decision tree is the best tool I know for this. Here is my condensed version:

Image type What the alt text should do Example
Informative photo or illustration Describe what the image adds alt="Epoxy garage floor with grey flake finish"
Icon or image inside a link or button Describe the action or destination, not the picture A magnifying glass icon: alt="Search"
Logo Name the organisation; mention the link target if it's linked alt="AlgoBlueprints home"
Image containing text Repeat the text alt="Sale: 30% off all chairs until Sunday"
Chart, graph or diagram Give the main takeaway; put the data on the page alt="Bar chart: organic clicks doubled from January to June"
Decorative image, spacer, background flourish Empty alt so screen readers skip it alt=""

So, do icons need alt text? If the icon does something on its own, yes, and it should describe the function. If it sits next to a visible text label such as "Cart", it is redundant and can have alt="".

And do decorative images need alt text? They need the attribute, left empty. An empty alt tells assistive tech to skip the image. A missing alt can make it read the file name instead.

Alt text examples: good vs bad

Steel water bottle on a white backdrop being photographed with a camera on a tripod and softbox light
A product shot like this needs alt text that names the item, its colour and what makes it different.
Image Weak alt text Better alt text
Product photo of a phone case phone case phone cover best phone case India Matte black iPhone 15 case with a printed mountain sunset design
Blog hero image of a laptop image of laptop Laptop showing a Google Search Console performance report
Team photo on an About page team The five-person content team at a whiteboard planning a launch
Download icon in a button arrow icon Download the PDF
Divider line between sections divider line graphic alt=""

A template for product photos. When someone asks me to write alt text for a product photo, I use this pattern: [colour/material] + [product name] + [key visible feature] + [angle or context, if more than one image]. For example: "Brown leather messenger bag, front view, with brass buckles." Each gallery image should describe what is different about that shot, not repeat the product name five times. I cover product images in more depth in my guide to ecommerce product page content.

Image file names and other image SEO basics

Alt text is the biggest image SEO item, but it isn't the only one. Since this is the one guide on this site that covers image SEO, here are the basics I check on every audit, all taken from Google's image SEO best practices:

On product and recipe pages, the image URL is also used in your structured data. If you're adding that, my schema markup guide explains how it fits together.

In many cases, yes, though it is rarely the law itself that says "alt text". Laws tend to point to WCAG, and WCAG success criterion 1.1.1 (Non-text content) is the Level A requirement that covers text alternatives for images. A few examples:

This is a summary, not legal advice. If your business has legal exposure, speak to a lawyer who works on accessibility.

Who writes alt text?

Man at a wooden desk reviewing a grid of product photos on a laptop
Whoever uploads the image is usually the best person to write its alt text.

The person who knows why the image is on the page. On most sites that's the content writer or editor, not the developer. Developers make sure the alt field exists and that decorative images output alt="". Writers fill it in.

AI tools can draft alt text quickly, and I use them for first drafts on large product catalogues. But Section508.gov warns that default and AI-generated descriptions often miss the image's purpose. Read every one before it goes live.

My alt text checklist

Run through this before you publish any page:

Alt text is one line on my full SEO checklist, which covers the rest of the on-page and technical items.

Frequently asked questions

Is alt text visible to visitors?

Not normally. It appears only when an image fails to load, or when a screen reader announces it. Some older browsers showed it as a hover tooltip, but modern ones use the title attribute for that.

Can alt text and the image caption be the same?

They can, but it wastes the screen reader user's time, because they hear the same words twice. If the caption already describes the image fully, use a brief alt text that adds something, or leave it empty.

How can I tell if an image already has alt text?

Right-click the image and choose "Inspect" to see the alt attribute. For a whole site, run a crawler such as Screaming Frog and filter for images with missing alt text.

What happens if I leave the alt attribute out completely?

Screen readers may read the file name or the image URL instead, which is confusing. Crawlers and accessibility checkers will also flag it as an error. If the image is decorative, add alt="" rather than leaving it out.

Should I write alt text for images on Instagram or LinkedIn?

Yes. Both platforms have an alt text field, and screen reader users rely on it there just as they do on websites. The same rules apply: describe what matters and keep it short.

Does every image need a keyword in its alt text?

No. Add a keyword only when it accurately describes what is in the image. Forcing the same keyword into every image on a page is the stuffing pattern Google warns against.

Sources

Akif Qureshi
Akif Qureshi
Senior SEO Specialist & Marketing Analyst | Content Strategist

Connect with Akif on LinkedIn, Instagram and Facebook.

2+ yrs in SEO Google & HubSpot certified 120+ guides

Driven by advanced SEO expertise, deep marketing analytics, high-impact content strategy

With 2+ years of hands-on SEO experience, I specialize in holistic search strategies that don’t just rank—they drive real, measurable business growth. I’ve worked across industries including healthcare, hospitality, legal, e-commerce, and professional services, helping brands dominate their target markets. My approach bridges the gap between raw data and creative execution. Every strategy I build is rooted in rigorous market analysis, structured SEO frameworks, and tailored content ecosystems—no templates, no shortcuts. Whether you’re a single-location brand or scaling across multiple cities, I create data-driven marketing systems designed to compound results and grow with you.

No sponsored content No affiliate links Reader supported

Want Every Image on Your Site Working for SEO?

Get an image and accessibility audit that finds missing alt text, oversized files and weak file names across your whole site.

Book a Free SEO Audit →

Related guides

More Content guides →

© 2026 Algoblueprints. All rights reserved.