Creating a Table for Graphical Representation

View the library of solutions.

The Problem

How to tie the <thead> contents to the tbody cells when the <thead> is hidden and <thead> content has been moved to <tfoot>.

What didn't work

What does work: K.I.S.S.

How screen readers handle <thead>

When focus is given to the <th> cells in the <thead>:

How screen readers handle <tfoot>

<tfoot> is not supported as a table heading set in any screen reader. It is simply treated as a final row of data. (See <tbody> below.)

How screen readers handle <tbody>

Row <th> tags:

<td> tags:

Depending on whether you enter a <td> from the top/bottom or from the left/right it will be identified either by the th[scope="row"] or th[scope="col"] content.

No screen readers yet correctly identify a <td> with both corresponding <th>s at the same time.

Table Examples

Normal table with <thead>, left <th> cells, and <tfoot>.

Name Birthday Company Automobile
First Name Day and Month Workplace Manufacturer
Adina May 19 Comcast Highlander
George December 12 Vanguard Sienna
Jonathan July 11 Harriton none
Lydia December 8 Welsh Valley none

Table cell with "hidden" <thead> and fake <tfoot> for use in a graphical data chart.

Name Birthday Company Automobile
Adina May 19 Comcast Highlander
George December 12 Vanguard Sienna
Jonathan July 11 Harriton none
Lydia December 8 Welsh Valley none

Ths is a fake link.