Alt Text Best Practice
So, what is alt text, and are you remembering to add it to your images?
When you add an image to WordPress, you can assign it 'alt text'. This is a simple description of the media file, and usually takes the form of a short sentence.
The original purpose of image alt text was accessibility. It was created so that guests to your site with any visual impairment (that is, those people who cannot actually see the images in your content) still have some way of knowing what they are.
Why is it important?
Google and other search engines have been taking advantage of the information presented by alt text for a long time. Their bots pay attention to the text of each alt tag, using it to gain a deeper understanding of your content.
Importantly, it helps with your SEO, as you can add your keywords to it!
Alt text best practice
- Use a full sentence, rather than a word or short phrase. This provides human and bot visitors alike with more information.
- Be as descriptive as possible, clearly explaining what the image contains.
- Include keywords in your alt tags. Keywords are essential to any healthy SEO strategy, and this is yet another place to incorporate them. If you have a primary keyword for your content, you'll want to use it in alt text whenever it makes sense to do so. For images of products in particular, including the item's name and the product ID is also a smart idea.
Examples of what to do and what not to do
Let's say you have added an image of a kitten, what can you add as your alt text?
You could leave it blank with no alt text - bad idea!
You could keyword stuff it, e.g. kitten, cat, baby cat, kitty, kittens litter, Siamese, cheap cat food - bad idea!
You could have a simple basic description, e.g. kitten - better, but not the best practice!
So, finally - a proper descriptive sentence, e.g. Siamese kitten enjoying her kitty-katty tuna fish - now we got it!
Where do I find my alt text?
If you are not sure where your alt text is, simply login to WordPress and go to your media library. Select one of your images and a box will pop up which includes the alt text field.
Now, as far as I am aware, it shouldn't harm your ranking if you choose to add or amend the alt text after your post is published. If anybody knows different, please add your comments below.