Short answer: Don't use them, except in special circumstances.
HTML title
attributes are often perceived as an accessibility (and SEO) bonus, but the opposite is true. For screen reader users the content included inside of the title
attribute is typically unncessary, redundant, and possibly not even used. Conversely, content being put in the title
attribute is being hidden from the (probable) majority of your users. If information is being hidden from the majority of your users, then it's probably not necessary.
There are a few times when using a title
attribute is appropriate:
- For
<frame>
and<iframe>
elements - For providing a label when a text label would be redundant
Rule of Thumb: Serve all users equal content.
- Steve Faulkner has an in-depth post on "Using the HTML title attribute" (Jan 15th, 2013)
- RNIB Blog: TITLE attributes (May 16th, 2007)
Here's another resource from the Paciello group that shows screen reader support for title attributes: http://www.paciellogroup.com/resources/articles/WE05/forms.html