How to Add ALT Tags to Images in WordPress
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.
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.
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”]
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+.