Trakis

Trakis · Rules

Images without alternative text

Images without an alt attribute. An empty alt="" counts as present: it is how HTML marks an image as decorative. 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

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.

How to fix it

  • Write an alt text for each image that carries meaning: what it shows, in a few words ("rochie neagră din satin, lungime midi").
  • 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

Find it on your site

A Trakis audit runs this check and the other 65 on your site, and tells you on how many pages each one sits. Or go back to all the rules.