One of the ways to optimize the images that you use for your blog posts or on your widget is by using alt text. The alt attribute, according to W3Schools “provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader)“.
Why Alt Helps in SEO
Search engine spiders at this time cannot identify what’s in the image that you just uploaded (and this is especially true if you’re using “image.jpg” or “picture.png” as the image file name – which is non-descriptive and useless in terms of SEO). Help the spiders understand your images by using an alt text to seize that SEO opportunity.
How to Include an Alt Text in Images
Easy! Simply add alt=”this is the alt text” in the image tag.
<img src="beautiful-lady.png" alt="beautiful lady" />
Guidelines for the alt text
* If the image contains information – use alt to describe the image
* If the image is inside an a element – use alt to explain where the link goes
* If the image is only for decoration – use alt=””