Image alt text checker
Do your images have an alt text that a screen reader and Google can read, in Arabic?
- Checks your page
- 3 browsers
- 1 rule
- Last updated
What we keep
The result appears here
Enter your page’s address and press “Check the page”. This is what the tool runs on it:
- Image without a text alternativenot started
What it checks
- Each image of the page that has no accessible name, using axe-core's
image-altrule in Chromium, Firefox and WebKit. - That an image marked decorative with
alt=""orrole="presentation"is left alone. - That a page without images has nothing to check.
Example
<img id="product" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAEklEQVR4nGP4z8CAFWEXHbQSACj/P8Fu7N9hAAAAAElFTkSuQmCC" width="160" height="160" />
<img id="product" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAEklEQVR4nGP4z8CAFWEXHbQSACj/P8Fu7N9hAAAAAElFTkSuQmCC" alt="زجاجة عطر العود الملكي" width="160" height="160" />
How to fix
- Give every image that carries content an
altthat says what it shows, in the page's language: «زجاجة عطر العود الملكي», not «صورة» or the file name. - Mark decorative images (borders, spacers, repeated icons beside a text label) with
alt="". - For an image that is a link or a button, the
altsays where it goes or what it does. - In a store, the product's image alt comes from a field in the product (often "alt text" in the media panel); fill it, or let the theme use the product's name.
- Do not stuff the
altwith keywords: one honest phrase.
For example:
<img src="/oud.jpg" alt="زجاجة عطر العود الملكي" width="160" height="160" />FAQ
Google uses it to understand an image, and it is the text of an image that cannot load. It is not a ranking trick: write it for the person who cannot see the picture.
Yes, in the page's language. A screen reader pronounces it in the page's language; an English alt on an Arabic page is read with the wrong voice.
That runs six accessibility rules at once. This one runs the image rule alone, so you can see just that problem and fix it first.
Because it renders the page in three browsers and runs axe-core in each. The result is the same in all three; the tool reports each image once.
What this tool runs
- Image without a text alternativecritical
a11y-image-alt
How we measure
We render the page in Chromium, Firefox and WebKit and run axe-core 4.13.0 with its image-alt rule. Each image without a text alternative is reported; images marked decorative are not. See the rule's page for the details.