Images without alternative text
Images without an alt attribute. An empty alt="" counts as present: it is how HTML marks an image as decorative. So does role="presentation" or "none", and an image the page does not show is left out. Alt text is what screen readers read and what search engines use to understand an image. Without it the image is invisible to both.
WarningCONTENT-002 · Content · checked on every page
Image alt text: what to write, and when to leave it empty
Updated 16 October 2026.
Alt text is the alt attribute of an image: a few words that stand in for the picture when it cannot be seen. A screen reader reads it aloud, a browser shows it when the image fails to load, and search engines read it to understand what the image is. This check finds images that have no alt attribute at all.
What Google says about it (Google):
- Alt text is, in Google’s words, the most important attribute for giving it more information about an image. It uses alt text along with computer vision and the content of the page to understand what an image shows.
- On an image used as a link, the alt text works as the link’s anchor text.
- Write useful, information-rich text, in the context of the page, and don’t fill the attribute with keywords: Google calls that keyword stuffing, and says it can make a site look like spam.
- Its own example runs from no alt at all, through alt="puppy", to the best of the three: alt="Dalmatian puppy playing fetch".
What to write, following the W3C’s alt decision tree:
- An image that carries meaning, a product photo, a person, a place: a short description of what it shows, as it matters on this page.
- An image that is a link or a button: where the link goes or what the button does, not what the picture looks like. A logo that links home is “Home” or the company’s name.
- An image of text: the text itself, unless the same words are already on the page next to it.
- A chart or a diagram: a short summary in the alt, and the data in the page, where everyone can read it.
- A decoration, a divider, a background flourish, an icon beside a label that already says it: an empty alt="".
Missing is not the same as empty. alt="" tells a screen reader to skip the image. No attribute at all tells it nothing, and some screen readers then read out the file name instead (W3C): “IMG underscore 2 0 4 8 dot jpg”. That is why this check asks only for the attribute, and never counts an empty one against you.
The demo shop, as it is. Every product page shows one picture, and the template prints it without alt text: 30 pages across 3 categories, one line each in the report on the example page.
<img src="/img/boots.svg" width="480" height="320">
One change in the template fixes all 30, by passing the product’s name and what the photo shows. The demo’s pictures are placeholders, so for a real photo of the Harbour Chelsea boot it would read:
<img src="/img/harbour-chelsea-black-side.jpg" width="480" height="320"
alt="Harbour Chelsea boot in black full-grain leather, side view">trakis.io itself has no img on its public pages: the mark is drawn in SVG inside the page, and the logo file exists only for the structured data that names it.
Mistakes to avoid.
- One alt for every image of a template, such as “product image”. It is present, so no check flags it, and it says nothing. Pass the product’s own name and detail.
- The file name, or the camera’s: “IMG_2048”, “hero-final-v3”.
- “Image of…” at the start. A screen reader already says it is an image.
- A list of keywords. Describe the picture; the words people search for come in by themselves when they belong.
- The caption again, word for word. If the figure’s caption already says what the image shows, a short alt or an empty one is enough.
Check it yourself. In the browser’s developer tools, search the page’s elements for <img and look at each one’s alt. Lighthouse’s accessibility report lists the images that have none.
How the audit decides.
- It reads every img in the page’s HTML and counts those with no alt attribute. An empty alt="" is present, and fine.
- An image marked as decoration with role="presentation" or role="none" is not counted either, and neither is one the page does not show at all (the hidden attribute, an inline display: none). Until 16 October 2026 both were counted, though accessibility checkers pass them; we fixed that in the engine the same day. alt="" is still the safer of the two ways: the W3C notes that the ARIA role is less widely supported.
- aria-hidden or an aria-label does not excuse a missing alt: the image is still seen, and the alt is what Google reads with it.
- Images inside <noscript>, such as tracking pixels, are not read, and CSS background images cannot carry alt text, so they are not part of this check.
- A page with images missing it is one finding, CONTENT-002, a warning, with the first few image addresses as evidence; pages from one template are grouped.
Sources, read on 16 October 2026: Google Search Central, Image SEO best practices · W3C WAI, An alt decision tree · W3C WAI, Decorative images · WHATWG HTML Standard, Requirements for providing text to act as an alternative for images.
How common it is
In our study of 330 small sites, read from Common Crawl’s October 2026 archive (up to 100 pages a site), 55.5% of them had this problem on one page or more. On 179 of those sites the audit rated it a warning or worse; on the rest, a notice.
Where it usually comes from
Images uploaded without filling in the alternative text, or themes that print product images without passing the product name as alt.
If your SEO tool says…
The same problem, under the names other tools give it. Where a tool draws its line elsewhere, the note says how:
- Semrush: “Images without alt attributes”. Semrush’s page.
- Screaming Frog: “Images: Missing Alt Attribute”. Its separate "Missing Alt Text" also lists alt="" images; this check counts an empty alt as present, since that is how a decorative image is marked. Screaming Frog’s page.
Wording from each tool’s own documentation, read on 13 October 2026.
How to fix it
- Write an alt text for each image that carries meaning: what it shows, in a few words ("brown leather Chelsea boot, side view").
- Decorative images get alt="" — empty, but present.
- For products, build it in the template from the product's name and colour.
Shown for an example shop at www.example.com. In a Trakis report the same fix comes with your own addresses and the list of your pages it applies to.
How to check it yourself
Use the browser's developer tools to search for <img and look for images without an alt attribute, or with alt="" on images that carry meaning.
What it looks like in a report
Warning 12 of 18 images have no alt attribute. · /product/*
Product photos are printed without the product name as alt text; one change in the template fills it. (An example shop; the numbers are illustrative.)
How the audit counts it
CONTENT-002 is a warning in the content category, and weighs moderately in that category’s score. When it appears on many pages built from the same template, the report shows it once, with the number of pages it covers — because one change in the template fixes all of them.
If the finding is deliberate on your site, it can be accepted as intentional in the report. It then leaves the list and the score, and comes back on its own if what it shows changes.
Other content checks
- Thin content · CONTENT-001
- The title is nowhere in the H1 · CONTENT-003
- Very low text-to-HTML ratio · CONTENT-004
- Duplicate titles · CONTENT-005
- Duplicate meta descriptions · CONTENT-006
- A template settles just under the line · CONTENT-007
- Pages that repeat each other’s text · CONTENT-008
Find it on your site
A free Trakis audit runs this check and the other 66 on your site, and tells you on how many pages each one sits. Or go back to all the rules.