Access: [5.1.2.3]: data <table> missing row/column headers (1 row) (Priority 1)
Cause:
Data tables must include headers for each row and column. Use the "headers"
attribute to attach labels to table rows and columns via the "id" attribute.
This creates a link between headings and their associated data cells.
Example:
 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/5.1.2</title>
</head>
<body>
<table summary="This data table is missing one row header">
<caption>This data table is missing one row header</caption>
<tr>
<th>age</th><td>10</td><td>15</td><td>20</td>
</tr>
<tr>
<td>height</td><td>1.3 m</td><td>1.8 m</td><td>2.1 m</td>
</tr>
<tr>
<th>weight</th><td>50 kg</td><td>75 kg.</td><td>100 kg.</td>
</tr>
</table>
</body>
</html>
|
Solution:
References: