Access 5.5.1.6

From Htmlpedia
Jump to: navigation, search

Access: [5.5.1.6]: <table> summary invalid (placeholder text) (Priority 3)

Cause:

Table summaries must contain an actual description. Placeholder text (i.e. summary="table summary") is not acceptable. The summary should describe the relationship among table cells and cells that span multiple columns and/or rows. It is also useful in describing how the information contained in the table relates to other information in the document.

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.5.1</title>
</head>
<body>
<table summary="table summary">
	<caption>This table has an invalid summary (placeholder 'table summary')</caption>

	<tr><td>1</td><td>2</td></tr>
	<tr><td>3</td><td>4</td></tr>

</table>
</body>
</html>

Solution:

References: