How to Add ALT Tags to Images in WordPress

ALT Tags WordPress Images

You might have noticed a text description of an uploaded image. That text is ALT tag.

ALT tag means alternative tag. ALT tag was originally introduced for the special browsers of visually impaired users. As they can’t see the image, they need a text description to understand what the image is about.

ALT tag also helps Search Engine bots to understand an image. Search Engine bots can’t see and they need a clue to understanding the image.

If bots can understand your images, they will give you good ranks for the related keywords. And you can drive huge traffic from Image-based Search Engine like Google Image search.

All you need to do is, add proper alt tags to your images. The other thing that matters for SEO is Title tag. But it is less important then ALT tag.

In this post, I will be sharing How to Add ALT text to Images in WordPress. Before going further, here are some tips to write an ALT tag.

  • ALT text should be related to your images.
  • Keep the text short and meaningful.
  • Use SEO keywords.

Further Reading: How To Optimize Images For SEO

The Manual Approach

Generally, you can add ALT tag when you upload a new image. WordPress uploader makes it easier. Just type the alt text once you’ve uploaded the image.

alt tags for WordPress Images

It’s very simple. But it will be tough for you to add alt tags to all the images that you have already uploaded.

The Automatic Approach

To automate the process, you can use a WordPress plugin named SEO Friendly Images. I hate automation. But in this case, this is the best way to deal with it.

This plugin is developed by Valadmir, founder of ManageWP. It will automatically update all of your images with Title and ALT text for SEO. If your images don’t contain the title and alt tag it will add them according to your setting. Though Search Engines understand Alt tag only, it’s good idea to have image title tag for visitors as this text will automatically appear in the tooltip when the mouse is over the image.

Now you need to install the plugin. Just go to your WordPress Dashboard > Plugins > Add New and type ‘SEO Friendly Images’ on the search box. Click on ‘Install Now’ button.

Install SEO Friendly Images Plugin

Once you’ve activated the plugin, go to Dashboard > SEO Friendly Images > Setting and configure the setting. As I upload images with proper title, I use %name for ALT and Title attribute.

Here’s an example for better understanding of the setting.

In a post titled Car Pictures there is a picture named Ferrari.jpg

Setting alt attribute to “%name %title” will produce alt=”Ferrari Car Pictures”
Setting title attribute to “%name photo” will produce title=”Ferrari photo”]

SEO Friendly Images Setting

Click on ‘Update options’. Now it will start generating alt tags for your images. To get the best result from this plugin, I’d suggest you to give a meaningful title to your images before uploading. For example, most of the time images are named like images001.jpg. This plugin won’t add any proper alt tag for this images. An ideal title can be like wordpress-alt-text.jpg.

Hope this will boost your On-Page SEO and help you to get more traffic from search engine.

Further Reading: WP Smush.it Plugin: Reduce Image Sizes for Faster Loading

Over to You

If you are using a lot of images on your blog, I’d highly suggest you use alt attributes to your images properly. It will help you increase user experience and drive traffic from search engines. But don’t do keyword stuffing in the hope of better ranking.

Do let us know if you are using any other ways to add alt tags to images. If you find this post helpful, please help me by sharing this post on Facebook, Twitter or Google+.

Sharing is Caring
Istiak Rayhan
 

Istiak Rayhan is the founder of RoadToBlogging.com, a blog that aims to make bloggers' journey easier. Istiak loves to help newbie bloggers to build a better blog. Here's more about him.

  • I previously used SEO friendly images and the main benefit with Thesis is that it automatically crop images that reduces the size. Your custom_functions.php code is helpful. Thanks for sharing.

  • Sai Kumar says:

    Hi Istiak Rayhan, Great article bro. I use alt tag for every image and one my article gets huge visits from Google Images. Yes alt tag will helps a lot to drive traffic from Search Engines. Thanks for Sharing!

    • Istiak Rayhan says:

      That sounds good, you’re getting huge visits from Google Image search. Thanks for your comment.

  • Yousuf says:

    Great article bro. I use alt tag for every image and one my article gets huge visits from Google Images. Yes alt tag will helps a lot to drive traffic from Search Engines. Thanks for Sharing.

    • Istiak Rayhan says:

      Thanks for reading.

  • Felix says:

    Hello,
    Thank you for sharing this plugin.
    I developed a plugin for my own use, but I just publish it on wordpress.
    My plugin “Bulk SEO Image” is useful to update all ALT attributes of your images in one clic (for example, with the post title)
    Compared to other plugin, the plugin changes the ALT attribut in one time, and is not called when a page is loading

    I expect a lot of updates in the future, and I welcome any feedback!

  • Ayush Gupta says:

    I have few images with alt text and some without alt text. With the automatic approach, will the plugin overwrite the already existing images with the new alt text?

    • Istiak Rayhan says:

      It won’t. It will only generate alt tag for the images without alt text.

      • Ayush Gupta says:

        That was quick. Thanks a lot. Let me install the plugin. Seeing a lot of errors in Bing Webmaster about missing alt text

  • Dear Istiak Rayhan
    I have used alt tag almost in every image but it is still showing alt tag not found in any image. could you tell me the reason pls

    • Istiak Rayhan says:

      Have you added those alt tags manually?

  • Thank you Istiak.You have shown me how to add alt attributes to the images I post in word press in an easy way.I will try the SEO Friendly images plug in as you suggested.
    Keep up the good work Sir
    Regards

    • Istiak Rayhan says:

      Glad I could help. Thanks for you kind words.

    • Istiak Rayhan says:

      Glad I could help. Thanks for your kind words.

  • Dick Sijtsma says:

    The problem is that the new alt tags are not automatically used in existing blogposts. You have to edit the old blog posts, insert the image with the new alt tags again, before it takes effect. Or is there a plugin to do that too?
    For new blogposts / pages it works.

    • Istiak Rayhan says:

      There is a plugin called “SEO Friendly Images” for adding ALT Tags automatically. But the problem is that the plugin has not been updated for a long time.

  • >