The fastest way to check alt text on any image

Right-click the image and select Inspect (or Inspect Element). The browser's developer tools open and show the HTML code for that image. Look for the alt attribute inside the <img> tag. If you see alt="description here", the image has alt text. If the alt attribute is missing or empty (alt=""), it does not.

On mobile devices without a right-click option, the process depends on your browser. Chrome for Android lets you long-press an image and tap Inspect at the bottom of the menu. Safari on iPhone does not have a built-in inspector, so you would need a third-party app or to view the page on a desktop browser instead.

This method works on any website and shows you exactly what text is attached to the image in the code — which is what screen readers and search engines actually see.

Key Takeaways

  • Right-click any image, select Inspect, and look for the alt= attribute in the HTML code to see what alt text exists.
  • An empty alt attribute (alt="") means the image is marked as decorative, while a missing alt attribute means no description was provided at all.
  • Browser developer tools show the exact alt text as it appears in the code, which is what assistive technology reads aloud.
  • Mobile browsers have limited or no built-in inspection tools, so checking alt text on a phone usually requires viewing the page on desktop or using a third-party app.

Understanding what alt text looks like in the code

When you open the inspector, you are looking at the HTML source. An image tag with alt text appears like this: <img src="photo.jpg" alt="A red barn in a snowy field">. The alt text is the phrase inside the quotation marks after alt=.

Three scenarios tell you different things. If alt text exists and contains words, the image has a description. If the alt attribute is present but empty (alt=""), the image is intentionally marked as decorative — useful for icons or spacing images that do not need description. If the alt attribute is missing entirely, the image lacks any description, which is a problem for accessibility.

The length of alt text varies. Some images have one or two words; others have a full sentence. There is no fixed rule, but the text should describe what matters about the image for someone who cannot see it.

Using browser extensions to check alt text faster

If you check alt text often, a browser extension can show it without opening the inspector each time. WAVE (Web Accessibility Evaluation Tool) is free for Chrome and Firefox and highlights images with missing alt text in red and images with alt text in green. Hovering over an image shows its alt text in a tooltip.

Axe DevTools is another free option that scans the entire page and lists all images with missing or empty alt attributes. It also flags other accessibility issues like missing headings or low contrast text. Both tools are maintained by accessibility organizations and do not require a login.

Extensions are useful if you are auditing a website or learning to spot alt text problems, but they are not necessary for a one-time check. The built-in inspector does the same job with no installation required.

Checking alt text on images inside links or buttons

Images sometimes sit inside clickable elements like links or buttons. When you inspect these, the image tag is nested inside an <a> or <button> tag. The alt text still appears in the same place — the alt= attribute of the <img> tag itself.

However, if an image is the only thing inside a link, the alt text becomes the link text for screen readers. A link with an image that says alt="Click here" is poor practice because it does not tell the user where the link goes. Better alt text would describe the destination, like alt="Read our privacy policy".

When inspecting, look at the image tag first. If it has no alt text, check whether the link or button itself has a label using the aria-label attribute or visible text elsewhere. Sometimes the description comes from the surrounding HTML rather than the image tag.

What to do if an image has no alt text

If you find an image without alt text on a website you do not own, you can report it to the site owner. Most websites have a contact form or accessibility statement that explains how to report problems. Providing the specific page URL and describing which image is missing alt text helps the owner fix it.

If you are building or editing a website yourself, add alt text by editing the HTML directly or using your site builder's image settings. Most platforms like WordPress, Wix, and Squarespace have a field labeled "Alt text" or "Alternative text" in the image upload dialog. Fill it with a brief description of what the image shows.

For decorative images that do not add information — like a background pattern or a spacer — use an empty alt attribute (alt="") rather than leaving it out. This tells assistive technology to skip the image, which is the correct behavior for images that are purely visual.

Checking alt text on social media and image-heavy sites

Social media platforms like Twitter, Facebook, and Instagram have their own alt text systems separate from the HTML code. On these sites, right-clicking and inspecting still works, but the alt text may not appear in the image tag itself — it might be stored in a data attribute or loaded separately.

The easiest way to check alt text on social media is to look for an accessibility label or information button on the image itself. Twitter shows an "ALT" label in the corner of images that have alt text. Instagram does not display this visually, but you can tap the three dots on a post and look for an "Alt text" option to see if one was added.

For other image-heavy sites like Pinterest or Flickr, the inspector method still works, but the HTML structure varies. If you do not see alt text in the <img> tag, check the page source for a title attribute or aria-label, which some sites use instead of the standard alt attribute.

Frequently Asked Questions

Can I see alt text without opening the developer tools?

On most websites, no — alt text is in the HTML code and not visible on the page itself. However, some browser extensions like WAVE display it in a tooltip when you hover over an image. If you hover over an image and see a small popup with text, that is usually the alt text or the image's title attribute, not the alt text itself.

What if the alt text says something different from what I see in the image?

That is a problem. Alt text should accurately describe the image so that someone using a screen reader gets the same information as someone looking at it. If the alt text is misleading or incorrect, report it to the website owner or consider whether the site is trustworthy.

Does every image need alt text?

No. Decorative images — like background patterns, icons that repeat elsewhere, or spacing images — should have an empty alt attribute (alt="") so screen readers skip them. Images that convey information, like charts, photos, or icons that represent actions, should have descriptive alt text.

Why does one image have alt text and another on the same page does not?

It usually means the page was built or edited by different people, or some images were added later without alt text. Inconsistent alt text is common on older websites or sites with many contributors. If you notice this pattern, it is worth reporting to the site owner.

Can I copy alt text from one image and use it on another?

Only if the images are identical or nearly identical. Each image should have alt text that describes that specific image. Copying generic alt text like "image" or "photo" defeats the purpose and does not help anyone using a screen reader.