Example for Checkpoint
5.6 - Provide abbreviations for header labels.

Slide 51 of 120
Previous slide. Next slide.

Priority 3

A useful feature of <TH> element is the "abbr" or abbreviation attribute. A screen-reader will be able to speak the header identified with each cell if the id and header, or scope, attributes are used. If you don't use the "abbr" attribute, the entire header will be spoken for its associated data values. For example, the code:

<TH id="t3" abbr="Type">Type of Coffee</TH>

would cause a screen-reader to say "Type" and the cell value, instead of "Type of coffee:" and the cell value.

Here is where you would really appreciate the use of "abbr": Imagine if you had a large spreadsheet whose columns were labeled like this:

<TH id="t4" abbr="Projected">Projected spending on coffee in the Western Regional Office</TH>

How many times do you need to hear "Projected spending on coffee in the Western Regional Office" before you wish you had abbreviated it to "Projected"?

Up one level To Checkpoints for Guideline 5.
Next slide: Example for Checkpoint 6.1

Introduction: Overview Guidelines: Overview Checkpoints: Overview Examples: Overview

Previous page. Next page.

Chuck Letourneau & Geoff Freed

W3C Web Accessibility Initiative

Copyright © 2000 W3C