Home / Fix guides / On-page SEO

How to Fix Missing Alt Text on Images

Find the images on your pages that have no alt text, then add a short, plain description of each one in your editor or media library. Images that are purely decoration should get an empty alt value instead.

Alt text (the alt attribute) is a short written description attached to an image in your page's code. Visitors never see it unless the image fails to load, but screen readers read it aloud to people who cannot see the picture, and search engines use it to understand what the image shows. When it is missing, a blind visitor may hear nothing useful, or just a file name like IMG_4837.jpg.

This is one of the most common and easiest website problems to fix. It needs no coding in most cases, only a few minutes per image.

Why missing alt text matters

  • Accessibility and trust: People using screen readers rely on alt text to follow your page. Product photos, team photos and diagrams without it leave them guessing. In many countries, accessibility is also a legal expectation for business sites.
  • Search: Search engines cannot reliably work out what an image shows from the pixels alone. Alt text, the file name and the text around the image all help. Good alt text can help your images appear in image search, which can bring in visitors who never saw your normal listings.
  • Sales: For shops, a product image with a clear description supports both image search and customers who cannot see the photo. If an image does not load on a slow connection, the alt text is what appears in its place.

It is not a magic ranking switch, and adding it will not transform your traffic overnight. It is basic housekeeping that removes a barrier for real people and gives search engines a clearer picture of your page.

Missing versus empty: a useful difference

There are two different situations:

  • Missing: the image has no alt attribute at all. This is the problem, because assistive tools may fall back to reading the file name.
  • Empty on purpose: the image has alt="". This tells screen readers to skip it. It is correct for purely decorative images such as divider lines, background flourishes or icons that sit next to text saying the same thing.

So the goal is not to fill every image with words. It is to make sure every image has a deliberate choice: a useful description, or an intentionally empty value.

How to check if your site has the problem

You can check for free in a few ways:

  1. Chrome Lighthouse: Open your page in Chrome, right-click and choose Inspect, open the Lighthouse tab and run an Accessibility audit. It lists images that do not have an alt attribute.
  2. WAVE: The free WAVE browser extension from WebAIM marks each image on the page with an icon showing whether alt text is present, missing or empty.
  3. View the source: Right-click the page, choose View page source, and search for <img. Look at each one for alt=. This is slow but needs no tools.
  4. A crawler: Screaming Frog SEO Spider has a free version that crawls a limited number of pages and has an Images tab that can show images with missing alt text across many pages at once.

If you want this checked across your whole site as part of a wider review, SiteMonday covers image optimisation in week 35 and lists what it finds in a ranked fix list.

How to fix it in general

The process is the same on every platform:

  1. Make a list of the pages and images flagged, starting with your most important pages: home page, main services and best-selling products.
  2. For each image, decide whether it carries meaning. If it does, write a description. If it is decoration only, mark it as decorative or leave the alt text empty on purpose.
  3. Enter the text in the image's alt text field (where that is depends on your platform, see below).
  4. Save or publish, then recheck the page.

What good alt text looks like

  • Describe what is in the image, as you would to someone on the phone. Example: Baker sliding a tray of sourdough loaves into an oven.
  • Keep it short, usually a sentence or less.
  • Include a relevant keyword only if it fits naturally. Do not stuff several keywords in.
  • Skip phrases like "image of" or "picture of". Screen readers already announce it as an image.
  • If the image contains text (a banner or a logo with words), include that text in the alt text.
  • For a linked image, describe where the link goes, for example Download the 2025 price list.

Where to add alt text on common platforms

Menu names change between versions and themes, so look for these fields rather than exact labels.

  • WordPress: In the Media Library, open an image and fill in the Alternative Text field. In the block editor, click the image block and look for the alt text box in the right-hand settings panel. Changing it in the library does not always update images already placed in older posts, so check the page too. See the WordPress guide.
  • Shopify: For products, open the product, click an image and choose the option to edit alt text. For theme images, use the theme editor's image picker, which usually has an alt text field. See the Shopify guide.
  • Wix: Select the image in the editor, open its settings and look for the field asking what is in the image.
  • Squarespace: Edit the image block or the image in your product or gallery and look for an alt text or description field.
  • Webflow: Select the image element and check its settings, or set alt text in the Assets panel. CMS images can often pull alt text from a field.
  • WooCommerce: Open the product, click the main or gallery image and fill in alt text in the media window.
  • Elementor: The Image widget normally uses the alt text from the Media Library. Background images set in Elementor have no alt text, so important pictures should be real images, not backgrounds.

This site has a guide for each platform, so use the one that matches your site for more detail.

Tidy up the file names too

Alt text works best alongside sensible file names. A file called IMG_4837.jpg tells nobody anything, while sourdough-loaves-oven.jpg helps. See image file names that are not descriptive for how to handle that.

How to confirm the fix worked

  1. Clear any caching plugin or site cache so you see the updated page.
  2. Run Lighthouse or WAVE on the same page again. The missing alt text warning should be gone.
  3. Check the page source for one or two images and confirm you see alt="your description" or alt="" for decorative ones.
  4. Listen to the page with a screen reader if you can (VoiceOver on Apple devices and NVDA on Windows are free or built in). It is the quickest way to see whether your descriptions make sense.

How to stop it coming back

  • Make alt text part of your publishing routine: no image goes live without it.
  • Ask anyone who uploads images, including staff, agencies and freelancers, to fill in the alt field every time.
  • Where your platform allows it, add alt text when you upload, not afterwards.
  • Recheck new pages occasionally. A repeat scan, such as the image week in SiteMonday's yearly cycle, helps catch new images added since last time.
  • Be careful with automatic fill tools. Some generate alt text from the file name, which can create poor descriptions. Review anything automated.

Step by step for your platform

Questions

Does every image need alt text?

Every image should have an alt attribute, but decorative images should have it empty (`alt=""`) so screen readers skip them. Any image that carries information, such as a product photo or chart, needs a real description.

How long should alt text be?

Aim for a short sentence, a handful of words up to about a line. It should be long enough to describe the image clearly and short enough to be read easily.

Will adding alt text improve my Google rankings?

It helps search engines understand your images and can help them appear in image search. It is one small signal among many, so do not expect a big jump from this alone.

Can I use the same alt text on every image?

You should not. Repeating the same text gives no useful information and can sound spammy. Describe each image individually.

Should I put keywords in alt text?

Only if they describe the image naturally. Writing for the person who cannot see the picture usually gives you the right wording anyway.

Do logos and icons need alt text?

A logo should usually describe the business name, for example `Acme Bakery logo`, or just the name if it links home. An icon beside text that already says the same thing can be left empty.

Related problems