Sc1 3 1 Table Caption
Please note, this is a draft
Description
This test checks if a table with caption does not contain a summary with the same text.
Background
- H39: Using caption elements to associate data table captions with data tables
- H73: Using the summary attribute of the table element to give an overview of data tables
- H51: Using table markup to present tabular information
Assumptions
No assumptions yet
Test properties
Property | Value |
---|---|
Success Criterion | 1.3.1 Info and Relationships |
Test name | |
Test mode | Automatic |
Test environment | DOM |
Test subject | Web page |
Test procedure
Selector
Test mode: automatic
table
Elements that have both a summary
attribute and a caption
element.
Step 1
Test mode: automatic
Check if the summary duplicates the caption.
if yes return
Outcome | Failed |
---|---|
Testcase | SC1-3-1-table-caption |
ID | SC1-3-1-table-caption-failed1 |
Error | The heading element must have content. |
else return
Outcome | Passed |
---|---|
Testcase | SC1-3-1-table-caption |
ID | SC1-3-1-table-caption-passed1 |