colgroup
and col
elements to group columns.
colgroup
and col
elements to group table columns.
Question | Does this data table require colgroup or col elements to group table column structures? |
---|---|
PASS | Table does not require colgroup or col elements to group table column structures. |
FAIL | Table requires colgroup or col elements to group table column structures. |
colgroup
or col
elements are required to group table column structures.colgroup
and col
elements are used to group table column structures.colgroup
and col
elements to group table column structures.<?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 231-1 Positive</title> </head> <body> <p>From the WCAG 2.0 HTML techniques: "Describe the use and benefits of column structure elements. Much of this may be theoretical."</p> </body> </html>
<?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 231-1 Positive</title> </head> <body> <p>From the WCAG 2.0 HTML techniques: "Describe the use and benefits of column structure elements. Much of this may be theoretical."</p> <table border="1" summary="cups of coffee consumed by city politicians"> <thead> <tr><th>name</th><th>number of cups</th><th>type</th><th>with sugar</th></tr> </thead> <tbody> <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> </tbody> </table> </body> </html>