Level 2
5.5 Provide summaries for tables.
		
Priority 3
5.5 Provide summaries for tables.
		table summaries are greater than 10 printable characters (English).
table summary is less than 10 characters.
table element, summary attribute value must be greater than 10 characters (English) if it's a data table.
| Question | Is this short table summary adequate to describe the table's purpose? | 
	
|---|---|
| PASS | Short summary is OK. | 
	
| FAIL | Short summary is not OK. | 
	
summary attribute of table element and determine its length.table has been identified as a data table because it contains th elements. If this is a layout table then remove the th elements from the table.table summaries are greater than 10 printable characters (English).summary attribute value of the table element so it describes the purpose and structure of the table.table with valid summary (greater than 10 characters).
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>ATRC Testfile - Check #113-2 - Positive</title> </head> <body> <table border="1" summary="This table shows the number of cups of coffee consumed by each senator, the type of coffee (decaf or regular), and whether taken with sugar."> <tr><th>name</th><th>number of cups</th><th>type</th><th>with sugar</th></tr> <tr><td>Adams, Willie</td><td>2</td><td>regular</td><td>sugar</td></tr> <tr><td>Bacon, Lise</td><td>4</td><td>regular</td><td>no sugar</td></tr> <tr><td>Chaput, Maria</td><td>1</td><td>decaf</td><td>sugar</td></tr> <tr><td>Di Nino, Consiglio</td><td>0</td><td>not applicable</td><td>not applicable</td></tr> <tr><td>Eggleton, Art</td><td>6</td><td>regular</td><td>no sugar</td></tr> </table> </body> </html>
table with short summary (less than 10 characters).
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>ATRC Testfile - Check #113-1 - Positive</title> </head> <body> <table border="1" summary="coffee"> <tr><th>name</th><th>number of cups</th><th>type</th><th>with sugar</th></tr> <tr><td>Adams, Willie</td><td>2</td><td>regular</td><td>sugar</td></tr> <tr><td>Bacon, Lise</td><td>4</td><td>regular</td><td>no sugar</td></tr> <tr><td>Chaput, Maria</td><td>1</td><td>decaf</td><td>sugar</td></tr> <tr><td>Di Nino, Consiglio</td><td>0</td><td>not applicable</td><td>not applicable</td></tr> <tr><td>Eggleton, Art</td><td>6</td><td>regular</td><td>no sugar</td></tr> </table> </body> </html>