Glossary · On-page and content
Alt Text for SEO and Accessibility: How to Write It Well
Alt text is a short description of an image. It helps people using screen readers first, and search engines second.
Alt text, or alternative text, is the description added to an image's HTML alt attribute. Screen readers read it aloud to people who cannot see the image, and search engines use it to understand what the image shows. Google calls it the most important image metadata, and advises writing it plainly without keyword stuffing.
Key Takeaways
- Write alt text for the person who cannot see the image. Search benefits follow from that.
- Google calls alt text the most important image metadata and says not to stuff keywords.
- WebAIM's 2025 survey found 55.5% of home pages with missing alt text, and 18.5% of images with none.
- Linked images need alt text most, since it acts as the link's anchor text.
A blind visitor lands on your product page. Their screen reader reads: image, image, image, image. They cannot tell the product from a decorative divider.
Alt text fixes that, and it also gives search engines a plain description of the picture.
What alt text does
The alt attribute holds a short description of an image. When a screen reader meets the image, it reads the alt text aloud. When the image fails to load, browsers can show the text instead. And when a search engine reads the page, it uses the alt text, along with the surrounding content, to understand what the image shows.
Google's image guidance describes alt text as the most important image metadata. It says Google uses alt text together with computer vision algorithms and the content of the page to understand the image, and that when an image is a link, its alt text works like the anchor text of a text link. So it matters in two ways: it informs image search and it describes links.
How widespread the problem is
WebAIM's analysis of one million home pages in February 2025 found missing alternative text on 55.5% of pages, making it the second most common accessibility failure after low contrast text. About 18.5% of all images lacked alt text, averaging 11 per page, not counting images with an intentionally empty alt. 44% of the images missing alt text were linked images, and one in five linked images lacked it. About 11% of images with alt text had questionable or repetitive text.
Those numbers describe a large, easy gap. Fixing alt text improves access for disabled users, covers a legal expectation in many countries and gives search engines clearer signals, all for a few minutes of writing per image.
How many of your images have no alt text?
Send your domain. We crawl for missing and weak alt text on your top pages.
How to write good alt text
| Image type | What to write | Example |
|---|---|---|
| Product photo | What it is and a key detail | Blue waterproof trail running shoe, side view |
| Informative photo | What it shows, in context | Two engineers reviewing a server rack in a data center |
| Chart or diagram | The main message in a sentence | Bar chart showing clicks falling from 7.6% to 3.9% at position one |
| Linked image or button | Where the link goes | Download the SEO audit checklist |
| Decorative divider or background | Nothing: use an empty alt | alt="" |
Examples written for illustration.
Keep it short, usually under about 125 characters, but do not chase a number. Describe what matters for the page, not every detail. Skip phrases like image of or picture of, since screen readers already announce an image. The W3C's image tutorials include a decision tree for choosing between informative, decorative and functional images.
Keywords and alt text
Google says alt text should be useful, information-rich content that uses keywords sparingly and is in context of the page. It warns against stuffing keywords, which makes for a bad experience for screen reader users and may be treated as spam. A phrase like shoes running shoes best running shoes buy running shoes tells nobody anything.
Write for a person first. If the image really shows running shoes, the word running will appear naturally. Our H1 tag and meta description entries show the same principle for other on-page text.
Linked images and buttons
When an image is the only content of a link, its alt text is the link's name. An image of a logo that links home needs alt text such as Digimarketlabs home. A magnifying glass icon that opens search needs alt text such as Search. WebAIM found that 44% of images missing alt text were linked images, so this is where the largest failures hide.
Google notes that image link alt text acts as anchor text. A linked product photo with empty alt text gives crawlers and screen readers an empty link, which is both an accessibility failure and a missed signal. See also link equity for how descriptive anchors help.
Writing alt text at scale without losing quality
A store with thousands of product images cannot hand-write every description in a week. Build a template from the product data: brand, product name, color and a key attribute. Review a sample of fifty by eye. Fix the template where it produces nonsense, and hand-write the descriptions for hero images and best sellers.
Automated captioning tools help with a first draft, and they are wrong often enough that a person must read the output. Common failures include naming the wrong object, adding invented details and repeating the product name five times. The reader who relies on a screen reader pays the price, so the review step stays in the process.
Set a standard for new uploads and put it in the style guide: one sentence, plain words, what the image shows and why it is on the page. A shared standard keeps the work consistent across editors and agencies.
Testing with a screen reader
Turn on a free screen reader such as NVDA on Windows or VoiceOver on a Mac and move through your homepage with the keyboard. You will hear what a blind visitor hears: the order of the content, the names of the links and the descriptions of the images. Five minutes of this teaches more than a long checklist.
Listen for images announced by file name, buttons announced as unlabeled and long strings of repeated descriptions. Fix those first. Then ask a colleague to try the checkout or contact form without looking at the screen. The problems you find are real barriers for real customers.
An audit you can run today
- Crawl the site. Export images with missing alt text, using Screaming Frog or a similar crawler.
- Sort by importance. Start with linked images, then product and hero images, then the rest.
- Write by hand. Use the table above. Avoid auto-generated text without a human check.
- Mark decorative images. Give them an empty alt so screen readers skip them.
- Add a rule to your publishing process. No image goes live without alt text.
A site with a few hundred images takes a day. Prioritize the top fifty pages by traffic.
Alt text, file names and captions
A descriptive file name, such as blue-trail-running-shoe.jpg, gives a small extra clue, though it matters far less than alt text. Captions help readers and are visible text on the page, so they carry more weight than hidden descriptions. Use captions where a picture needs explanation and alt text to describe what it shows.
Put the image near relevant text. Google uses page context to understand images, so a photo surrounded by relevant copy is easier to interpret than one dropped into a gallery with no text.
Mistakes to avoid
Leaving alt empty on informative images. Writing alt text for decorative ones. Stuffing keywords. Using the same text on every image. Starting with image of. Letting a plugin generate descriptions nobody reviews. Hiding text in images, such as a price or phone number inside a graphic, without repeating it as real text.
Remember that alt text is part of good on-page SEO and of basic accessibility. If you want a site-wide check, our monthly audit includes missing alt text and other accessibility basics.
FAQ
Alt Text: questions people ask
What is alt text?
A short description in an image's alt attribute, read by screen readers and used by search engines to understand the image.
Does alt text help SEO?
Google calls it the most important image metadata, and it helps with image search and with link anchors.
How long should alt text be?
Keep it brief and useful, usually under about 125 characters, and describe what matters in context.
Should every image have alt text?
Every informative image should. Decorative images should have an empty alt attribute so screen readers skip them.
Can I stuff keywords in alt text?
No. Google advises against it, and it makes the experience worse for screen reader users.
Want images that help every visitor and every crawler?
We fix alt text and image weight across your key pages.
How we wrote this page
Chenthil Kumar wrote this entry from the sources listed below and from audit work on client sites, and the Digimarketlabs Editorial Team checked it against our editorial guidelines. Figures carry a source and a date, and where a study shows correlation only, we say so. Search features change often, so check the linked documentation before you act on a detail. Last updated October 23, 2026.
Sources & further reading
Keep reading