Understanding Image Alt Tags

This tutorial explains what image alt tags are and how to use them

When first starting out with SEO or optimising a website in general a relatively overlooked but a very important aspect to consider is the use of image Alt tags. These in effect are descriptions of an image, should the image not be viewable. Or should the user need additional information about the image and for use with tools such as screen readers.

This makes your website much more accessible and can be beneficial from a search engine perspective as your website is designed to be more user friendly, this is positive for many search engines as they prefer to serve well built, well structured websites as results.

So what does an image alt tag look like, from a HTML coding perspective it’s relatively simple:

<img alt ”this is the alt tag”>

So when should you use Image Alt Tags?

Most images are best served with an alt tag if they serve a purpose on your web page. That sounds rather self explanatory but if for example you have a set of icons or a banner that reflects an action or something that needs to be done on the page it’s best for these to have an alt tag.

An example of this would be an icon that represents a need to click something, for those with screen readers this wouldn’t make much sense and so by having the alt tag it makes that section easier for someone to use.

If however you’re using an image purely for design purposes such as the background of a box that adds no real context / meaning to the page then an alt tag isn’t always necessary.

Adding image alt tags to WordPress:

As one of the most widely used content management platforms in the world adding alt tags to WordPress is relatively simple.

You’ll need to visit the media library on your site and click on the image that you’d like to add the alt tag for. Above the title section is the alt tag, this generally uses the image title initially so you may need to add something more descriptive.

To learn more about website accessibility and making your website great for all visitors take a look at the W3C guidelines here.

Further reading:

5 great places to find free stock images

We hope this provides you with an idea of getting started with image alt tags. We’d appreciate a share or any comments if you found this useful, thanks!

Tech Typed
Tech Typed
Articles: 186

Leave a Reply

Your email address will not be published. Required fields are marked *