Accessibility.

Better sample page for LIFT: tables for data (2).

Using tables to present data

This much simpler version of a table of data has also been tidied up:

Delegate coffee consumption
Name Cups Type of Coffee Sugar?
T. Sexton 10 Espresso No
J. Dinnen 5 Decaf Yes

Firstly, the table headers must be identified as such (using <th> tags rather than <td> tags. Then either:

In this amended version we used the second method. The table also has a caption (using the <caption> tag).

Unfortunately, when you run LIFT again, you will still receive errors. This is true whichever method you use. We believe that this is because LIFT is assuming that your table should have row headers as well as column headers (the error disappears if we identify the first column as containing row headers). In this case, you will have to use your discretion to evaluate whether your table needs further amendments or not. We don't believe this one needs changing.

Bad Site version.
Better Site home page.