How to write alt text, and when to leave it empty
By The Pulxon team · Published · 4 min read
Alt text is the short description of an image that a screen reader reads aloud instead of showing the picture. It is also what appears when an image fails to load, and what search engines read to understand an image. It lives in the `alt` attribute of the image tag, and in most website builders it is a field labeled "alt text" or "image description".
In WebAIM's 2026 scan of the top one million home pages, 53.1% had images with no alt text at all. So if you are wondering whether this is worth your time: it is one of the most common barriers on the web, and fixing it is mostly writing.
The one question to ask
For every image, ask: if this image were gone, what would someone miss? Write that. Not what the image looks like in every detail, but what it does on the page.
The same photo can need different alt text in different places. A photo of a woman laughing on a phone is "Customer support agent on a call" on your contact page, and probably nothing at all on a blog post where it is just there to break up the text.
Photos that carry information
Product photos are the clearest case. A blind shopper needs to know what the product looks like as much as anyone, because it may be the deciding factor.
- Weak: "Shoe"
- Weak: "IMG_4521.jpg"
- Better: "Women's running shoe in navy blue with a white sole, side view"
If you have several photos of the same product, each one should say what is different about it: "Same shoe from above, showing the lacing", "Close-up of the cushioned heel".
Logos
Write the name of the company, not "logo". If the logo is a link to your home page, which it usually is, the alt text is the name of the link, so "Pulxon" or "Pulxon home page" works. Do not write "Pulxon logo image". The screen reader already says "image" or "link".
Icons and image buttons
When an image is the only thing inside a link or a button, its alt text is the button's name. Describe what it does, not what it shows.
- A magnifying glass that opens search: "Search", not "Magnifying glass"
- A trash can that deletes an item: "Remove from cart", not "Trash icon"
- A cart icon linking to the cart: "Cart, 2 items" if you can, "Cart" at minimum
This is where we see the most failures in our audits. A row of social media icons in the footer, each with no alt text, is read out as a string of meaningless links.
When to leave alt text empty
Purely decorative images should have an empty alt attribute: `alt=""`. That tells the screen reader to skip the image entirely. Use it for:
- Background textures, dividers and flourishes
- Stock photos that add mood but no information
- Images whose content is already in the text right next to them, like a photo of a product directly under its name and description, when the text says everything
Empty is not the same as missing. A missing alt attribute often makes a screen reader read out the file name instead, which is worse than nothing. If your website builder has a "decorative" checkbox, that is what it does.
Charts, diagrams and infographics
A short alt text cannot hold a whole chart. Give the main point in the alt text, and put the full information in the page itself, as text or a table:
- Alt: "Bar chart: website accessibility lawsuits rose 27% from 2024 to 2025"
- Then the numbers in a small table or a sentence below the chart, where everyone can read them.
Images of text
If an image contains words, like a banner that says "Summer sale, 30% off", the alt text should contain those words. Better still, use real text styled to look the same, so it can be resized, translated and read by everyone.
The mistakes we see most
- Starting with "image of" or "picture of". The screen reader already announces it as an image. Just describe it.
- Stuffing keywords for SEO. "Cheap running shoes best running shoes buy running shoes online" helps nobody and search engines know it. Describe the image honestly; that is also what ranks.
- The same alt text on every image. Usually the product name pasted everywhere by a plugin. Each image should say what is different about it.
- Writing a paragraph. One or two sentences is almost always enough. Longer descriptions belong in the page.
- Trusting automatic captions blindly. AI-generated alt text is a starting point at best. It will happily describe your product as "a blue object on a white surface" or get it wrong entirely. Read it before you publish.
Where to start
Do not try to fix every image at once. Start with the images that are links or buttons, then product photos, then the rest. Our free checker lists every image on a page with no alt text and flags alt text that looks like a file name, so you can see the scale of the job in a minute.
Writing good alt text is not technical work. It is the same skill as describing a photo to a friend over the phone. Whoever knows your products best is usually the best person to do it.
Sources
We are not a law firm and nothing here is legal advice. No audit or fix can promise that a site meets a law; we test against WCAG 2.2 AA and fix what we find.

Want to know where your site stands?
Check one page for free in a real browser, or have a person test the whole site.