DEV Community

Cover image for Improve Weak WordPress Alt Text and Boost the Score
Benjamin Oats
Benjamin Oats

Posted on • Originally published at oppti.dev

Improve Weak WordPress Alt Text and Boost the Score

Improve Weak WordPress Alt Text and Boost the Score

Missing alt text gets all the attention, but weak alt text is the quieter problem. The field isn't empty, so nothing flags it. A crawler still reads image1, DSC_0042, or a three-word label that describes almost nothing, and treats that as the description of your image. It looks done. It isn't. And because it looks done, it can sit on your best pages for years.

The fix isn't to open every image and rewrite it by hand. It's to score what you already have, find the descriptions that are pulling their weight and the ones that aren't, and rewrite the weak ones from the actual image content. Here's a short walkthrough of that loop on a live WordPress site.

Why weak alt text is worse than blank

A blank alt field is honest. You can search for empties, and everyone agrees they need fixing. Weak alt text hides. Filenames like IMG_4821, single words like "photo", or a stray keyword stuffed in to tick a box all read as completed work. Nobody goes back to a field that already has text in it.

The cost is the same as an empty field, sometimes worse. Google reads the alt attribute to work out what an image shows and whether it's relevant to a search. "Chair" tells it almost nothing. "Oak dining chair with woven rush seat" tells it what to rank you for. A screen reader has the same experience in reverse: it reads "chair" aloud and the person listening learns nothing useful about the product they were about to buy.

Keyword-stuffed alt text is its own trap. Cramming "cheap oak chair buy oak chair best oak chair" into the field used to be a tactic. Now it reads as spam to both Google and assistive tech, and it can drag a page down rather than lift it. Good alt text describes the image plainly. That plain description is what ranks.

Score before you rewrite

You can't fix what you can't see, and on a site with a few thousand images you can't eyeball every one. Scoring turns a vague sense of "the alt text is probably fine" into a sorted list of what to fix first.

A useful score looks at length, whether the text is a real description or a leaked filename, whether it repeats the same phrase across dozens of images, and whether it actually relates to what's in the picture. That last check is the one you can't do with a spreadsheet formula, because it needs to read the image itself. An entry that scores low on length and filename detection is almost always a genuine problem. An entry that scores low only on relevance is often a description that was written for the wrong image after a migration.

Sorting by score changes the job from "rewrite everything" to "rewrite the worst fifty". The images near the bottom are usually your oldest posts and your bulk-imported product galleries, which are also the pages that have had the most time to accumulate links and traffic. Fixing those first is where the return is.

Rewrite from the image, then save it back

Here's the loop the video shows, applied across a WordPress library:

  1. Scan the media library and score every image's existing alt text, so you have a ranked list rather than a wall of thumbnails.
  2. Start at the bottom. Open the lowest-scoring images first — the filenames, the one-word labels, the stuffed keywords.
  3. Generate a description from the image, not the old text. The point is to describe what's actually in the picture: the object, its material, colour, and context. A rewrite that only shuffles the old weak words forward doesn't help.
  4. Read it before you accept it. The draft should read like a person wrote it. Trim anything that sounds like a list of keywords, and add the detail only you know — the product name, the model, the specific use.
  5. Save it back to WordPress so the new alt text lives on the attachment and applies everywhere that image is used, not just one post.
  6. Re-score. The entries you fixed should climb, and the overall picture tells you whether you've cleared the worst of the backlog or need another pass.

The reason to keep a human in the loop is simple: you know your catalogue and the model doesn't. It can describe a chair accurately; it can't know it's the "Hackney" range unless you tell it. The draft gets you 90% of the way in seconds, and your edit adds the part that only you have.

What a good rewrite looks like

Take a product image saved as variation-3-final.jpg with alt text "chair". A stronger description reads: "Grey upholstered dining chair with tapered oak legs, front view." It's specific, it's readable aloud, and it gives Google something to match against real searches. No stuffing, no repetition — just an accurate description of the thing in the frame.

Do that across the weakest images on a site and two things move. Image search starts surfacing pages that were invisible before, because they finally describe what they show. And the site becomes genuinely more usable for anyone on a screen reader, which is the part that matters regardless of what any crawler thinks.

Frequently asked questions

How do I know if my WordPress alt text is weak rather than missing?

Missing alt text is an empty attribute; weak alt text has something in the field that doesn't describe the image. Look for filenames like IMG_4821 or DSC_0042, single words such as "photo" or "image", the same phrase repeated across many images, and keyword-stuffed strings. A quick manual check is to open a few older posts and product pages and read the alt values — if they wouldn't help someone who couldn't see the picture, they're weak. Scoring your library automates this across every image at once, which matters once you're past a few hundred.

Does rewriting alt text actually improve image SEO?

It helps when the new text is a genuine, specific description. Google uses the alt attribute alongside the filename, caption, and surrounding text to understand an image and decide what to rank it for. Replacing "chair" with "oak dining chair with rush seat" gives it something concrete to match. What doesn't help is keyword stuffing — repeating phrases or cramming terms reads as spam and can hurt. Describe the image plainly and accurately, and the ranking benefit follows from that.

Will updated alt text apply everywhere the image is used?

If you save the alt text to the image in the WordPress media library, it lives on the attachment, so it applies wherever that attachment is inserted going forward. Note that some themes and page builders copy the alt text into the block at the moment you insert an image, so older placements may keep their original value until re-inserted. For most sites, updating the attachment covers the large majority of usage, and it's the right place to fix it once rather than page by page.

Fix the weak ones first

Empty alt fields are easy to spot. The weak ones — filenames, one-word labels, stuffed keywords — are where most of the hidden image SEO loss sits, precisely because they look finished. Score your library, rewrite from the bottom up, and save the descriptions back to the attachment so the fix sticks.

You can see where your site stands with a free image SEO audit, or handle the rewriting across your whole library with OpptiAI Alt Text.

Top comments (0)