Access 5.6.1.1

From Htmlpedia
Jump to: navigation, search

Access: [5.6.1.1]: <table> may require header abbreviations (Priority 3)

Cause:

Provide abbreviations for table headers to reduce useless repetition and reading time for those relying on screen readers and other speech technologies. Include the "abbr" attribute in the table's 'th' element and condense the heading to one or two key words.

Example:

Bad
<!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.6.1</title>
</head>
<body>

<table summary="These table headers require abbreviations">
	<caption>These table headers require abbreviations</caption>

	<tr><th>Age Of All Recent Residents Of The GTA</th><th>Income Level Specified In English Pounds</th></tr>
	<tr><td>19</td><td>7000</td></tr>
	<tr><td>29</td><td>19000</td></tr>

</table>

</body>
</html>

Solution:

References: