Warning:
This wiki has been archived and is now read-only.
SC1-3-1-table-caption
From Automated WCAG Monitoring Community Group
This test belongs to 1.3.1 Info and Relationships.
Status
Draft
Contents
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 | Possible values |
---|---|
Success Criterion | 1.3.1 Info and Relationships |
Test name | |
Test mode | Automatic |
Test environment | DOM |
Test subject | Web page |
User expertise and skills | |
User profile |
Test procedure
Selector
Test mode:
earl:automatic
Tables that have both summary and caption elements.
Step 1
Test mode:
earl:automatic
Check if the summary duplicates the caption. if yes return
Property | Value |
---|---|
TestCase | SC1-3-1-table-caption |
Identifier | SC1-3-1-table-caption-failed1 |
Outcome | failed |
ErrorMessage | The heading element must have content. |
Pointer | position |
Info |
else return
return
Property | Value |
---|---|
TestCase | SC1-3-1-table-caption |
Identifier | SC1-3-1-table-caption-passed1 |
Outcome | passed |
Pointer | position |
Info |