Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

5.5 Provide summaries for tables

Provide a caption with the <caption> tag. A table caption describes the table in one or two sentences. If you don't provide a caption, use the title attribute on the <table> tag to describe the table instead.

Include the summary attribute to provide an outline of the structure of each table or chart and what it contains. Tells the user what information is presented in the table and name the table headings. A typical summary might be "This table charts the annual percentage growth in internet usage in Ireland under the headings, 1999, 2000, 2001."

Standard browsers don't usually display the summary but it helps users with screen readers or text only devices. A screen reader would read the summary aloud, before the contents of the table cells.

Note that tables used for layout do not require summaries.