Skip to main content
Free tool

Alt text checker

Give a URL or paste HTML, alt attributes checked

  • Free
  • No account required

Paste a page source or just a fragment. Pasted code is analysed locally and nothing is uploaded.

A URL you enter is fetched by our server, so it reaches our logs. Code you paste by hand still never leaves your browser.

Result

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.

About the tool

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.

In practice

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 Checks
Step by step

How 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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

Examples of the alt attribute for different kinds of images

The rules from the W3C WAI images tutorial, applied to three common elements.

Logo linking to the home page
Before
<a href="https://example.com/">
  <img src="/logo.svg" alt="">
</a>
After
<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.

Photo described by its filename
Before
<img src="/DSC_0042.jpg" alt="DSC_0042.jpg">
After
<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.

Ornament next to a heading
<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 mistakes

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-image has no alt attribute, and Google does not index CSS images. A graphic with content belongs in an <img> element.

Numbers and sources

Data on alt text across websites

ValueWhat it meansSource
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
ALevel 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:

Glossary

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.
Accessibility module in Insight

File or code ready? Check the result on the live page

Automated WCAG 2.2 tests with a fix list and an action plan.