I am developing a website and for the main navigation, I was thinking it would be a good idea to include the title attribute.
<a href="/results/" title="Results">Results</a>
Is this a good thing to do? Also, is it good for SEO and accessibility?
You should use a link title when you are providing more information about the link. Don't use a link title to provide the information over again, as this is a usability fail that will only result in annoying your users.
Put simply, the link title attribute gives additional information about the page being linked to. Here's what the W3C has to say about it: The title attribute is used to provide additional information to help clarify or further describe the purpose of a link.
The title attribute can be used to describe almost any HTML element. A beneficial way to use the title attribute for SEO purposes would be to use it in the link element to provide descriptive text within an anchor tag (which gives you more real estate for your targeted keyword phrases).
The Link title is an optionally defined attribute to give additional, advisory information about a linked web site. It helps clarify or further describe the purpose of a link that a recipient should know before clicking it.
It is a great thing to do. For accessibility, for SEO, for standards, for good netiquette.
You may want to make them slightly more descriptive though: title="Results of your Search" or "Results of Test #2"
From this article:
The TITLE attribute is useful in places where your HTML design limits the length of your link text.
That's often the case for links in a navigation bar, especially if your page has a multi-column layout.
Try using the TITLE attribute to give your visitors extra navigation information.
There was some concern about the support of this feature in the early days (1998!), but it is now a great way to reinforce the so-called information scent
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With