How to Put Your Image ALT Tags to Work in Wordpress

Most of the time, you’ll never see your image ALT tags. But they matter.

Last Updated:

I MAY get commissions for purchases made through links in this post.

Back in the days of dial-up internet access, you’d often see the text of an ALT tag displayed while you waited for an image to load on a page. These days, with fast broadband connections, that’s rare. But that doesn’t mean that ALT tags have disappeared. Even if you don’t see them in normal web browsing, they matter.

ALT tags were originally adopted for accessibility reasons to make it easier for screen readers. Those are web browsers that read text for visually impaired visitors to your site. Since those users obviously can’t see the image well, or at all, they need a text description to understand what the image is. Logically enough, ALT stands for alternative text, and it’s that text that the screen reader reads aloud.

But Google–and presumably other search engines, as well–uses that ALT text in a related but slightly different way: to help its search algorithms better judge what is in an image and how it might related to a particular search term.

The other image tag that matters for SEO is the Title attribute. But that’s less important than the ALT tag (but the title attribute does provide the tool tip when users roll the cursor over the image).

As Matt Cutts, Google’s former anti-spam head guru, explained it, the importance of the ALT tags is that it helps describe the scene and helps narrow down what the image is about.

The example he used is that if you’re looking for an image of a cat next to a ball of yarn, just doing a search for “cat” isn’t going to the best results. But if you search for “cat next to a ball of yarn” and the image helpfully has that information in the ALT tag, it should take you right to it. It helps differentiate between a cat jumping, for example, and what you’re after–a cat sitting next to a ball of yarn.

Adding an ALT tag is very easy to do, and you should pretty much do it on all of your images. It helps your accessibility, and it can help us understand what’s going on in your image. [Matt Cutts, Google]

The ALT tag isn’t the only factor in determining whether your image or page gets found, but it is one that matters. And it’s one you have direct control over.

The Ideal Approach in Wordpress

Ideally, you should be manually typing in the ALT text for each image as you upload it. Ideally it should be individually crafted for each image to create a unique description.

The Wordpress uploader makes it easy enough to do it–there’s a field directly under the Caption field.

alt-2

You can also input the information in the Media Library.

alt-1

But in practice, I get lazy about manually inputting ALT text. As a photographer, my posts tend to have quite a few images. And going back and typing in ALT tags for all the images I’ve already uploaded isn’t high on the list of things I want to spend my time on. It’s also not entirely effective, because adding the ALT text after an image has already been embedded in a post won’t edit the ALT information that’s actually in that post. Iit will only affect the next time you embed that same image in another post (or re-embed in the same one).

There’s a Wordpress Plugin for That

So what to do? Have someone or something else take care of it. No, automated SEO isn’t ideal. But it many cases it’s better than nothing. And as with so many Wordpress problems, there’s a plugin for that.

Different plugins tackle the problem differently, from entirely automating the process to making it easier to edit the ALT fields more quickly. Here are some of the best I’ve come across.

SEO Friendly Images

The most automated way to tackle the problem is with the SEO Friendly Images plugin.

seo-friendly-images

Media Library ALT Fields

The Media Library ALT Fields plugin adds an Image Alt Text column to the Media Library screen. It makes it easier to manually add ALT text to individual images more quickly. It’s a one-trick pony, but it works well.

medial-library-alt-fields

Faster Image Insert

Among the features of Faster Image Insert is the ability to edit the info of the images you’re uploading in bulk.

faster image insert

Other Things You Can Do to Help with Image SEO

Google has said that it treats the ALT tag as the most important textual information about an image.

But it’s not the only factor that goes into their algorithm. Some of the others that you have direct control over are the Title attribute, the filename, and the textual context around the image on the page. I’ve found captions to be an especially useful tool for this, in part because people often seem read image captions even if they’re skimming the page. How much each of these matters relative to the others is all part of Google’s secret sauce. The Title field is also used for tooltips when a user rolls the cursor over an image.

Wordpress’s built-in media manager includes fields for Caption and Description. Use both if you want to, but at least in terms of SEO, neither is an important as the ALT tag. You can find information on the purpose of each of Wordpress’s media fields is here.

What Not to Do

Google’s entire search empire is founded on giving users the best results for what they’re looking for. It protects that reputation fiercely, which is why it invests so much time and energy into anti-spam efforts.

If you’re jamming 20 or 30 keywords into your ALT tags, Google doesn’t like that. Keyword stuffing is frowned upon no matter where it’s done. 125 characters is the recommended maximum length for the ALT attribute, but 4 to 7 words seems to be widely regarded as the sweet spot.

David Coleman / Photographer

David Coleman

I'm a professional freelance travel photographer based in Washington DC. Seven continents, up mountains, underwater, and a bunch of places in between. My images have appeared in numerous publications, and you can check out some of my travel photography here. More »