Don’t use the title attribute for essential information
The title attribute can be used to provide additional information about an HTML element, for example a link. As long as that information is not just repeating a link’s text, title text can be useful.
What you should avoid is using the title attribute for important information that is not available elsewhere. The reason is that some users will not be aware of the title text:
- When you use the keyboard to navigate, most browsers do not display title text (I am not aware of any that do)
- Many screen readers are configured to not read title text unless the user specifically asks for it
- There is a delay before title text is displayed to people who use a mouse and a graphical browser, so they may miss it unless they know it is there
So by all means use the title attribute when it is appropriate, but do not use it to just repeat link text and do not use it for critical information.
This post is a Quick Tip. Background info is available in Quick Tips for web developers and web designers.
- Previous post: W3C web site redesign in beta – send in your feedback
- Next post: Accessibility is more than “possible to access”
Comments are disabled for this post (read why), but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.
Subscribe / follow
Sponsors
Authentic Jobs
- JavaScript/CSS/HTML5 Developer at CurriculaWorks (Burlingame, CA, Ca, US)
- Django Developer at Potato (London, UK, GB)
- DevOps Engineer at SHOP SMART LLC (Chicago, IL (River North), Il, US)
- Senior Developer at Magnani Caruso Dutton (Chicago, IL, Il, US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost

