Non-identical table summary and caption [H39]

Test info
Possible Results

Test info

Test for Success Criterion 1.3.1

About

Checked Elements: all
Checks that if a table has both a <summary> attribute and a <caption> element, that the <summary> is not identical to the <caption>.

Short Description

The objective of this test is to programmatically associate captions for data tables where captions are provided in the presentation. The caption for a table is a table identifier and acts like a title or heading for the table. <br> The caption element is the appropriate markup for such text and it ensures that the table identifier remains associated with the table, including visually (by default). In addition, using the caption element allows screen reading software to navigate directly to the caption for a table if one is present. <br> The caption element may be used whether or not the table includes a summary attribute. The caption element identifies the table whereas the summary attribute gives an overview of the purpose or explains how to navigate the table. If both are used, the summary should not duplicate information in the caption .

WCAG 2.0

Principle 1: Perceivable
Information and user interface components must be presentable to users in ways they can perceive.
WCAG 2.0: Principle 1
Guideline 1.3: Adaptable
Create content that can be presented in different ways (for example simpler layout) without losing information or structure. Understanding Guideline 1.3
Success Criterion 1.3.1: Info and Relationships (Level A)
Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text. Understanding: Success Criterion 1.3.1
Techniques

Possible Results

Failed Same summary and caption for table

The table has both summary and caption that the summary is identical to the caption