A large quantity of online content consists of images however not many website owners optimize their images for speed or even better SEO rankings. Even though WordPress provides you with the possibility to add alt text and image title, often beginners do not understand the difference and how to use them. In this article, I will show you the difference between image alt text versus image title in WordPress.
What is Alt Text and Image Title
Alt text is an attribute added to an image tag in HTML. This text shows up inside the image block when the image can not be displayed. It helps search engines understand what an image is about. Alternate text is additionally very helpful in case images on a page cannot be found.
Image title is another attribute that can be added to the image tag in HTML. It is used to provide a title for your image. The text you write inside the title tag won’t be shown to user when a image can’t be shown. Instead, it is displayed in a popup when a user take their computer mouse over to a picture.
Alt tag and image titles are also used to enhance accessibility of your internet site for those with poor vision or screen reader devices. A screen reader will read the entire text article and when it comes to an image, then it will say Image: Title XYZ. This allows the user to know why you integrated picture there even if they cannot see it.
How to Add Alt Text to an Image in WordPress
WordPress enables you add Alt text for your illustrations when you upload them using the built-in media uploader.
You can also add alt text to an image by visiting Media Library and clicking on the Edit link below the image.
How to Add Image Title in WordPress
When you are uploading an image using the built in WordPress media uploader, you will see a title field. This title field is used by WordPress to handle your media files and should not be confused with the title attribute used inside an image.
The title you add while uploading an image is only used by WordPress media library to display the list of your media files.
Although this title will help you locate media files in WordPress media library, it is not the title attribute that we are referring to. Here is how you would add the title attribute to your illustrations in WordPress.
When you are using the visual post editor, then you have to click on the image and then click the edit button on the image.
It will bring up the image edit popup screen where you are required to click on the Advanced Options. This will display the choice to add image title attribute.
Alternatively, you can use a plugin called <a href=\”https://wordpress.org/plugins/restore-image-title/\”>Restore Image Title</a> which uses the title field in the uploader as the title attribute of the image files.
Why and How You Should Use Alt Text and Image Title
We recommend to use both alt text and image title with their pictures. One obvious advantage is that it will help search engines find your images and display them in image search results. Another advantage is that these tags increase the accessibility of your website and explain your pics to people with special needs.
Search engines, especially Google claims that they only pay attention to alt tag as a ranking factor for pics. However, this does not prove that they completely ignore the title attribute. Try adding different texts in both attributes using keywords that describe your images.
Also remember do not stuff too many keywords into alt and title tags. Instead, write descriptive and helpful texts that really describe the image.
We hope this article helped you understand image alt text and image title in WordPress.