aboutsummaryrefslogtreecommitdiff
path: root/guidelines/WCAG-1.0/test5.html
diff options
context:
space:
mode:
authorGravatar Benjamin Jones <bjones@galois.com>2013-07-11 16:07:03 -0700
committerGravatar Benjamin Jones <bjones@galois.com>2013-07-11 16:07:03 -0700
commit265f160e55d98b37aa8d8f9b16a1a5ccb32bdb0d (patch)
tree201e18d14c075b9cfd8097e693b020ce77ac72d1 /guidelines/WCAG-1.0/test5.html
parent7601ea165da8a865954df9dd49ecbf09f3556edd (diff)
added WCAG 1.0 Guideline 5 and test HTML for it
Diffstat (limited to 'guidelines/WCAG-1.0/test5.html')
-rw-r--r--guidelines/WCAG-1.0/test5.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/guidelines/WCAG-1.0/test5.html b/guidelines/WCAG-1.0/test5.html
new file mode 100644
index 0000000..8700531
--- /dev/null
+++ b/guidelines/WCAG-1.0/test5.html
@@ -0,0 +1,40 @@
+<html>
+ <head>
+ <title>Test 5</title>
+ <style type="txt/css">
+ table { border: 2px solid black; }
+ </style>
+ </head>
+ <body>
+
+ Hello World!
+
+ <!-- expect caption/title failure, summary failure, headers failure -->
+ <table>
+ <tbody>
+ <tr><td>A first row that's not a header</td><td>Another col</td></tr>
+ <tr><td>A first row that's not a header</td><td>Another col</td></tr>
+ </tbody></table>
+
+ Hello Wisconsin!
+
+ <!-- expect headers failure -->
+ <table title='some table' summary='summary of a table'>
+ <tbody>
+ <tr><td>WI</td> <td>A first row that's not a header</td><td>Another col</td></tr>
+ <tr><td>WI</td> <td>A first row that's not a header</td><td>Another col</td></tr>
+ </tbody></table>
+
+ Hello Oregon!
+
+ <!-- expect no failures-->
+ <table title='some table with headers' summary='summary of a table with headers'>
+ <caption>A mighty good table</caption>
+ <tbody>
+ <tr><th>State</th> <th>head 1</th> <th>head 2</th></tr>
+ <tr><td>OR</td> <td>A first row that's not a header</td> <td>Another col</td></tr>
+ <tr><td>OR</td> <td>A first row that's not a header</td> <td>Another col</td></tr>
+ </tbody></table>
+
+ <!-- expect 4 failures -->
+</body></html>