Accessible tables
Accessible HTML tables need markup that indicates header cells and data cells and defines
their relationship. Header cells must be marked with <th>
, and data
cells with <td>
, to make tables accessible. For more complex tables,
explicit associations may be needed using @scope
, @id
, and
@headers
attributes.
When you implement the table, it is best to use the <table>
element
(CALS table or OASIS Table Exchange Model). The <table>
element
includes all that you need to make a fully accessible table.