The Title attribute - what is it good for?

Presentation at Web Essentials 05

Index

  1. The Title attribute - what is it good for?
  2. What's the TITLE?
  3. So what's the Title??
  4. Title attribute - a brief history
  5. a brief history [part 2]- Usability Guru's contribution
  6. a brief history [part 3]
  7. Display of titles [in browsers]
  8. Display of titles [in browsers] continued..
  9. Do users with disabilities read/hear the TITLE text?
  10. Implications of TITLE attribute use. [part 1]
  11. Implications of TITLE attribute use. [part 2]
  12. Implications of TITLE attribute use. [part 3]
  13. So what can be done?
  14. So thats it?

The Title attribute what - is it good for?

<h1 title="absolutely nothing?">The Title attribute - what is it good for?</h1>

Steve Faulkner
Technical director at The Paciello Group home page

This work is licensed under a Creative Commons License. Creative Commons License

back to top
<title>
back to top
tim berners-lee. 1 of 13 glass panels hand-engraved with portraits of the management committee of the world wide web consortium (2000)
"The power of the Web is in its universality.
Access by everyone regardless of disability is an essential aspect."

-- Tim Berners-Lee, W3C

"Title (attribute) - suggests a title for the destination resource --- advisory only.
The Title attribute may be used:
for display prior to accessing the destination resource, for example, as a margin note or on a small box while the mouse is over the anchor, or while the document is being loaded;"
back to top
bert newton

Jakob Nielsen's Alertbox for January 11, 1998

Using Link Titles to Help Users Predict Where They Are Going

"Do not assume that the link title will look the same for all users. Indeed, auditory browsers will read the text aloud and not display it visually. Different browsers will display link titles in very different ways"
back to top

HTML 4.0 Specifications

2.3.2 Accessibility

"As the Web community grows and its members diversify in their abilities and skills, it is crucial that the underlying technologies be appropriate to their specific needs. HTML has been designed to make Web pages more accessible to those with physical limitations. HTML 4 developments inspired by concerns for accessibility include:"

"Support for the TITLE and lang attributes on all elements."

"This attribute offers advisory information about the element for which it is set."
back to top

Display of the TITLE attribute in some common browsers

Browser Title Display Other behaviours Example Display
Explorer 5.x and up
  • TITLE text displays in pop-up tool tip on mouseover.
  • Displays TITLE for all page elements.
TITLE text on form controls elements disappears after approximately 5 seconds
example display of title attribute content in Internet Explorer
Netscape 4.x
Ignores TITLE attribute on all page elements.
none none
Netscape 6.x and up, Firefox
  • TITLE text displays in pop-up tool tip on mouseover.
  • Displays TITLE for all page elements.
  • TITLE truncated (after 75 characters)
  • TITLE text disappears after approximately 5 seconds

Opera 8
  • TITLE text displays in pop-up tool tip on mouseover.
  • Displays TITLE for all page elements.
pop-up displays TITLE text and URL of link.

Safari 1.3.1 & 2.0.1
  • TITLE text displays in pop-up tool tip on mouseover.
  • Displays TITLE text for all page elements.
TITLE text disappears after approximately 5 seconds
title display in safari
back to top

Things to note:

back to top
man with bandaged arm

Sometimes no, sometimes yes, sometimes maybe..

back to top
home page reader links list dialog box

Use of TITLE's on links

How does the use of the TITLE attribute effect users with disabilities - Includes users with a physical or cognitive disability or vision loss, whether or not they are users of Assistive Technology?

Checkpoint 13.1 of the Web Content Accessibility Guidelines [WCAG 1.0]

"Clearly identify the target of each link. Link text should be meaningful enough to make sense when read out of context -- either on its own or as part of a sequence of links."

"Link text - The rendered text content of a link".

back to top
x-ray of homer simpson head revealing a small brain

TITLEs, lots of them, are things any clearer?

A list of 82 links, 65 of which have TITLE attributes from Facts and Opinions About PDF Accessibility

Example link and TITLE texts from Facts and Opinions About PDF Accessibility

Link text TITLE text Link target clearly identified for Screen reader users [default settings] Link target clearly identified for JAWS Screen reader users with JAWS 'use TITLE' option enabled
The Alliance for the Equality of Blind Canadians AEBC yes no
S5 S5: A Simple Standards-Based Slide Show System no yes
PDF/A
Digital Formats for Library of Congress Collections
no yes
$79 Order HPR no maybe
2001 31 May 2001 no no
4.02
JAWS for Windows 4.02 Features and Enhancements
no yes
4.0 4.0? no no
later Window-Eyes 5.0 Manual no yes
14 MB .exe New Features in JAWS 5.0 no yes
back to top

Screen Magnifier users

At higher magnification levels it is difficult if not impossible to read more than a few words of a TITLE text.

TITLE text Example Display at 600% screen magnification
S5: A Simple Standards-Based Slide Show System S5: A Simple Stand
JAWS for Windows 4.02 Features and Enhancements JAWS for Windows
UA Guidelines Review of IBM Home Page Reader UA Guidelines Review
AEBC AEBC
back to top

How to use or not use TITLE attributes

Recommendations

Don't use them on any element to convey important information unless you provide device independent access to the information

Acronyms and abbreviations
Include a title attribute, but also provide a plain text expansion the first time the acronym or abbreviation is used on the page.
Form controls
Do use the TITLE attribute to provide a label for a form control in situations where a text label is impractical such as the use of controls within a data table. If you want to hide text labels methods are discussed in this article: techniques for Invisible Form Prompts
Links
Do not use the TITLE attribute to clearly define the link target and if you use a TITLE to add extra non-critical information ensure that the plain link text information is also included before the superfluous stuff.
back to top

Yes

Thanks for listening, if you have any questions I will be around...

Useful References


This work is licensed under a Creative Commons License. Creative Commons License

back to top