Testing for WCAG 2.0

Shadi Abou-Zahra, W3C/WAI
Sophia-Antipolis, France

(alternate presentation format available)

Essential Components

Essential Components of Web Accessibility

WCAG 2.0 Structure Diagram

diagram showing relationship between all WCAG 2.0 Documents
WCAG 2.0 Documents

About WCAG 2.0 Test Samples

Example WCAG 2.0 Guideline

From Guideline 1.3 Ensure that information and structure can be separated from presentation:

1.3.1 Information and relationships conveyed through presentation can be programmatically determined, and notification of changes to these is available to user agents, including assistive technologies. [How to meet 1.3.1]

Example WCAG 2.0 Success Criterion

Procedure from How to Meet Success Criterion 1.3.1:

Example WCAG 2.0 Technique

From H73: Using the summary attribute of the table element to give an overview of data tables:

For each data table:

  1. Check if a summary attribute is present for the table element.
  2. If a summary is present, check that the summary attribute describes the table's organization or explains how to use the table.
  3. Check if a caption element is present in the table element.
  4. If both a summary attribute and a caption element are present, check that the summary does not duplicate the caption.

Example WCAG 2.0 Test Sample #1

From Test Sample sc1.3.1_l1_018:

  <tr><th>student name</th><th>student id</th></tr>
The test case is intended to fail as there is no summary attribute for the data table.

Example WCAG 2.0 Test Sample #2

From Test Sample sc1.3.1_l1_019:

<table summary="This table shows the students details of the department.">
  <tr><th>student name</th><th>student id</th></tr>
The test case is intended to pass as there is a summary attribute giving an overview of the data table.

About the Repository

The WCAG 2.0 Test Samples Repository currently has:

Contribution to submit or review test samples is welcome!

About the Review Process

The review process of the Task Force has the following steps:

  1. Step 1: Test Sample submission
  2. Step 2: Review submitted files
  3. Step 3: Peer-review of content
  4. Step 4: Task Force strawpoll
  5. Step 5: Task Force suggestion
  6. Step 6: WCAG WG decision

About the Test Metadata

The WCAG 2.0 Test Samples Metadata is:

It contains information to describe:

Future Work


Other W3C/WAI Presentations

Thank You!

Shadi Abou-Zahra, W3C/WAI