Alt text checker
Give a URL or paste HTML, alt attributes checked
- Free
- No account required
A URL you enter is fetched by our server, so it reaches our logs. Code you paste by hand still never leaves your browser.
Enter a URL or paste HTML
Every <img>, <area> and <input type="image"> is checked. Pasted code is not uploaded.
This alt text checker reviews the page at a URL you enter, or HTML you paste: missing alt attributes, a filename used as the description, a redundant "image of" prefix, a linked image with no accessible name, and alt text longer than useful. It judges presence and known anti-patterns. It cannot judge whether a description is apt, because that needs the picture.
When alt text actually fails
A missing attribute is not an empty one. alt="" says "this image adds nothing, skip it" and is correct for decoration. No alt at all makes a screen reader read the filename, which is how listeners get "D S C underscore zero zero four two dot j p g".
The worst case is a linked image with an empty alt and nothing else inside the link. The link then has no accessible name and is announced as a bare URL. WCAG 2.4.4 at Level A does not allow it.
"Image of" is wasted words. A screen reader announces the element role itself, so the prefix repeats what the user has already heard.
This checks presence and known anti-patterns. Whether a description is apt is decided by a person who can see the image and the sentence beside it. No automated check replaces that.
Read the image in context
Paste HTML that includes the image, its surrounding link and nearby text. Then view the page and decide what information the image contributes. The same image may need a description in an article and an empty alt in a decorative header.
W3C WAI, Easy ChecksHow to add alt text (the alt attribute) to images on a website
You write alt text according to the role of the image on the page: a photo in an article, an icon in a link and a decoration each need something different. Four steps take you from the list of issues to fixed markup.
-
Check the page or paste its markup
Enter the address and choose Fetch page, or paste the HTML if the page sits behind a login. The tool checks every img, area and image-type input element, then separates errors, warnings and notes.
-
Start with images inside links and buttons
When a link contains just an image, its alt gives the link a name. Here alt describes the destination or action, such as “Home” on a logo or “Search” on a magnifier icon.
-
Describe the images that carry information
For a photo, diagram or screenshot, write briefly what the reader cannot learn from the text beside it. For a chart, put the main takeaway in alt and the data in the page content or a table.
-
Mark decoration with an empty alt and check again
Backgrounds, ornaments and photos that repeat their caption get an empty alt="", so a screen reader skips them. After the release, check the URL again and compare the number of elements without alt with the previous result.
Examples of the alt attribute for different kinds of images
The rules from the W3C WAI images tutorial, applied to three common elements.
<a href="https://example.com/">
<img src="/logo.svg" alt="">
</a><a href="https://example.com/">
<img src="/logo.svg" alt="Smith & Co, home page">
</a>With an empty alt the link has no name and a screen reader announces the bare URL. Alt in a link describes the destination, not the shape of the logo.
<img src="/DSC_0042.jpg" alt="DSC_0042.jpg"><img src="/DSC_0042.jpg"
alt="The support team at their desks in the Warsaw office">A filename tells a listener nothing. The description covers what is visible and what matters for the text beside it.
<h2>
<img src="/sparkle.svg" alt="">
Pricing updates
</h2> An empty alt tells assistive technology the graphic is decoration and can be skipped. The heading already carries its full meaning in text.
Common alt text mistakes
-
A missing alt attribute where an empty one belongs
Without the attribute, a screen reader often reads the filename or the image URL. Decoration needs
alt="", and an image with content needs a description. -
Describing how a link icon looks
Alt “magnifier” on a search button describes the icon, while the user needs to know what the button does. The W3C images tutorial advises that alt on a functional image describes the action, so “Search” works better.
-
Prefixes like “image of” or “photo of”
A screen reader already announces that the element is an image. The prefix makes the description longer and adds nothing.
-
Keywords instead of a description
Google describes keyword stuffing in alt as a poor user experience that may cause a site to be seen as spam. The description is there to help a person who cannot see the image.
-
The same alt on many different images
CMS templates often insert the post title as the alt of every photo in a gallery. A listener then hears the same words several times and cannot tell the photos apart.
-
An important image set as a CSS background
An image from
background-imagehas no alt attribute, and Google does not index CSS images. A graphic with content belongs in an<img>element.
Data on alt text across websites
| Value | What it means | Source |
|---|---|---|
| 53.1% | Share of the top one million home pages with images missing alternative text in February 2026. | WebAIM Million 2026 |
| 16.2% | Share of all images on those pages without alternative text in February 2026, 10.8 per page on average. An empty alt was not counted as missing. | WebAIM Million 2026 |
| 45% | Share of images missing alternative text in the February 2026 WebAIM data that were links, which leaves the link without a name. | WebAIM Million 2026 |
| 10.8% | Share of images with an alt attribute whose text was questionable or redundant in February 2026, such as “image”, a filename or text identical to adjacent text. | WebAIM Million 2026 |
| 7.5% | Share of mobile sites using filenames as alt text in the Web Almanac 2024 data (7.2% on desktop). | HTTP Archive, Web Almanac 2024 |
| A | Level of success criterion 1.1.1, which requires a text alternative for non-text content, and a name that describes the purpose for controls. | W3C, WCAG 2.2, 1.1.1 |
Sources checked:
Four cases
- ØNo alt
- A screen reader reads the filename. A WCAG 1.1.1 Level A failure.
- ""Empty alt
- Correct for decorative graphics: the image is skipped in the reading order.
- A→Linked image
- An empty alt with no other link content leaves the link unnamed. WCAG 2.4.4, Level A.
- 125Length
- Past roughly 125 characters a description stops being a label and becomes a paragraph to listen to.
Enter the page address and choose Fetch page. We download its HTML and check every <img>, <area> and <input type="image">: whether the alt attribute exists, whether it is a filename, whether a linked image has an accessible name, and whether the description runs long. For a page behind a login or a draft, paste its source or just the fragment with the images instead. Pasted code is analysed locally in your browser.
No. alt="" is the correct and recommended markup for decorative graphics: it tells assistive technology to skip the image. It becomes a problem only on an image that carries meaning, or on the only element inside a link.
The specification sets no limit, but past roughly 125 characters a description stops being a label and becomes a paragraph to listen to. If an image needs a longer explanation, put it in the page content beside it.
No. It checks attribute presence and known anti-patterns in the markup it reads. It cannot tell whether a description conveys what the image means, and it does not cover the rest of WCAG. That needs a human review.
No statute names alt text as such. Accessibility law points at WCAG instead (the European Accessibility Act, Section 508 and their equivalents), and WCAG 1.1.1 is a Level A success criterion requiring a text alternative for non-text content. The obligation is real but indirect, and which law reaches you depends on where you operate and what you sell. This tool reads markup, not your legal exposure.
Right-click the image, choose Inspect, and read the alt attribute on the <img> tag. For one image that is faster than any tool and needs nothing installed. This checker is for the other case: a whole page at once, with the real problems separated from the images that are correctly marked decorative.
No. Analysis runs in your browser and the pasted markup never reaches CometWeb. A URL is different: our server fetches the page for you, so the address itself reaches our logs.
Alt text for a logo is the company name, because that is the text in the image. If the logo links to the home page, add the destination, such as the company name followed by home page. A logo placed next to the same name in text can have an empty alt.
Alt text for a chart says briefly what the chart shows and what its main takeaway is. Put the full data in the page content, a table or a caption below, because the W3C tutorial on complex images recommends a full text equivalent of the data.
Alt text is one of the signals Google uses to understand an image, together with computer vision and the content of the page. On a linked image, alt also works as anchor text. Google advises against filling it with keywords.
What else might come in handy
File or code ready? Check the result on the live page
Automated WCAG 2.2 tests with a fix list and an action plan.