Row and Column Names
The header of a table column or row, which specifies the type of information in the respective column/row, can be labelled with the attribute value pair @role="label"
within <cell>
. This indication is optional (level 3).
Table with Column Headings:
<table> <head>[table title (if applicable)]</head> <row> <cell role="label">[header of the 1st column]</cell> <cell role="label">[header of the 2nd column]</cell> <cell role="label">[header of the 3rd column]</cell> </row> <row> <cell>[text of a table cell of the 1st column]</cell> <cell>[text of a table cell of the 2nd column]</cell> <cell>[text of a table cell of the 3rd column]</cell> </row> ... </table>
Table with Row Headings:
<table> <head>[table title (if applicable)]</head> <row> <cell role="label">[header of the 1st line]</cell> <cell>[text of a table cell of the 1st line]</cell> <cell>[text of a table cell of the 1st line]</cell> </row> <row> <cell role="label">[header of the 2nd line]</cell> <cell>[text of a table cell of the 2nd line]</cell> <cell>[text of a table cell of the 2nd line]</cell> </row> ... </table>