Do Alt and Title Attributes Help With SEO?
July 31, 2018
July 31, 2018
A highly talked about topic is the SEO world is, "Do Alt and Title Attributes Help with SEO?" Well to help shed a little light on this topic, I did some research and came up with a few good concluding. I'm not suggesting these are 100% accurate but from my initial research they seem to be right on target. I welcome all other SEO experts to share their opinions on this topic by posting their comments – because as we all know, every little bit of information can help us all.
Well to start, I want to provide a brief introduction of each attribute to help you understand their "intended" purpose.
The alt attribute is, popularly and incorrectly referred to as an alt tag and is commonly misunderstood to provide a tool-tip for an image. Both of these are incorrect. First of all, the alt attribute is an attribute and not a tag. The alt attribute was always intended to provide alternative information about an element and is generally required for image and image maps and is not meant to be used to display a tool-tip. The alt attribute, can be used for the img, area, and input elements to help provide alternative information to users who can not display that element in their browser. As an example, here is how you would define an alt attribute for an image: <img src = "imagepath.gif" alt = "this is our company logo">. If the image is not displayed the text, "this is our company logo" will be displayed in the place of the image.
The title attribute, on the other hand, is intended to provide additional information about an element, which is displayed as a tool-tip by most graphical browsers. The title attribute can be used to describe any HTML element except for base, basefont, head, html, meta, param, script, and title.
An excellent use for the title attribute is to provide descriptive text within an anchor tag to let the users know where the link will direct them if they click on it. When the user places their mouse over the link, it will display a small tool-tip displaying the title text that you've provided. An example would be
So as you can see the alt and title attributes have different purposes but how do they affect SEO? This is the true question we all want to know and understand. Do they help with SEO or are they simply ignored by the search engines? I tested several different scenarios, all in Google, and after my research I've come to the following conclusions.
Alt attributes seem to be picked up by Google, whether or not there was a link within that element. Some SEO experts have mentioned that if there is no link, then the alt attribute would not be indexed … from my research I've found this to be false.
Going further, I noticed in one testing scenario, if there was an image with an alt attribute and a link to a completely other site, that other site was also indexed by Google when searching for the text within the alt attribute. It was difficult for me to verify this multiple times but I definitely verified it in one testing scenario.
I also took this one step further and analyzed my results with what Google Images was displaying. I immediately noticed that Google sometimes takes the alt attribute text and provides this text as the description for the image in Google Images, something that is very valuable to know and understand when doing SEO for your website.
In all of my testing scenarios, the title attribute do not seem to be picked up by Google and adding a link to that element did not seem to affect this result at all. If you really think about it, this makes complete sense. Since you can place title attributes in almost every element of a website, it would be very easy for a user to affect the search engines by keyword stuffing through their web pages, something that Google and the other major players do not want, because why title attributes do not help with SEO.
In my opinion, you should use the title attribute to help with your user's experience and not with SEO. Since tool-tips provide more useful information to the user about images, links, fields and much more, you will help your users to understand what is happening around the web page.
So from my testing I've determined that a title attribute is meant to provide tool-tips to the user for user experience, whereas the alt attribute is helpful in terms of providing alternative information to the user when their browser can not display an image or input element and helping to increase the SEO of a website. My recommendation is to pay close attention to when, where and how you are using your alt attributes. If they help with SEO, then you should pay close attention to what you are adding.
When adding images always be sure to add an alt attribute to the code of each image. If you do not have one, then just specify a blank one, such as alt = "". Also, be sure to add alternative text that is relevant to that image, the content on that page and be sure not to specify an alt attribute greater than 100 characters in length, as this may be perceived as spamming.
I hope you find my brief overview on the topic of, "Do Alt and Title Attributes Help with SEO?" to be beneficial for you and your business. I'm sure one could dive deep into this topic, spending weeks determining the differences between how Google, Yahoo! and the other major search engines handle title and alt attributes with regards to SEO for a website.
I welcome all comments and / or feedback.