Technical Review of WCAG 2.0

Michael Cooper
Web Accessibility Initiative
cooper@w3.org

Tsunami by Hokusai

WCAG 2.0 Features

  1. Normative and Advisory Content
  2. Support for non-W3C and emerging technologies
  3. Techniques
  4. Tests

Normative and Advisory Content

“Normative” parts of the guidelines define what must be done to conform to WCAG 2.0.

Most of the materials available are “Advisory”, which explain the Working Group's intent and provide recommended ways to meet the requirements. However, it is not mandatory to follow the advice in advisory materials, if you have another way to meet the specific requirement of the Success Criteria.

Normative sections: Conformance, Principles, Success Criteria, Definitions.

Support for non-W3C and emerging technologies

The baseline allows WCAG to support more technologies.

Examples

Techniques

Techniques provide advice on how to meet the Success Criteria. There are three types of techniques:

Techniques

Types of techniques:

You can submit techniques to the Working Group, or provide separate sets of techniques for non-W3C technologies.

WCAG 2.0 currently provides technology-specific techniques for:

WCAG 2.0 Tests

Verify that sufficient techniques have been followed

Not mature yet but will be part of the final set of documents.

WCAG 2.0 Tests: Test Procedure

Script technique “Using both keyboard and other device-specific functions”

Procedure

  1. Find all interactive functionality
  2. Check that all interactive functionality can be accessed using the keyboard alone

Expected Results

WCAG 2.0 Tests: Test File

Script technique “Using both keyboard and other device-specific functions”

<a href="menu.php" onmouseover="swapImageOn('menu')" onfocus="swapImageOn('menu')" onmouseout="swapImageOff('menu')" onblur="swapImageOff('menu')"> <img id="menu" src="menu_off.gif" alt="Menu" /> </a>

In this example of an image link, the image is changed when the user positions the pointer over the image. To provide keyboard users with a similar experience, the image is also changed when the user tabs to it.

Overview of WCAG 2.0 Requirements

  1. Important concepts
  2. Overview by Principle
    • Principle 1: Perceivable
    • Principle 2: Operable
    • Principle 3: Understandable
    • Principle 4: Robust

Important concepts

Assistive technology (AT): special tools used by people with disabilities to interact with Web content. AT can adapt the page to the user's requirements so the author doesn't have to anticipate every user need. Most AT are not tested by authors, and require the encoding of content to support standard practices and accessibility APIs so it can reliably access it.

Text alternatives: because not all forms of non-text content can be transformed into accessible formats, WCAG 2.0 commonly requires text alternatives. Although some richness is lost, text can be transformed in a variety of ways and therefore provides the widest interoperability with AT.

Programatically determined: AT can reliably determine a state or property of content. Normally this requires that explicit, standard coding practices be followed, but it is also possible to use design practices that support widely-implemented heuristics.

Change of context: a change in the current browser window, or a change in input focus that the user did not initiate.

Keyboard interface: pointing devices (like a mouse) provide continuous, graphical-based input that is difficult for many people with disabilities to use. Keyboards and devices that use keyboard interfaces provide discrete input that most people can use. WCAG 2.0 requires compatability with keyboard interfaces, which allow standard keyboards as well as a wide variety of keyboard emulation hardware and software.

Principle 1: Perceivable

Accommodate sensory disabilities

Example: Luminosity Contrast

Visual contrast is specified in terms of a Luminosity Contrast Ratio, which is defined as a mathematical formula.

Principle 2: Operable

People should be able to interact with content, regardless of manual disability or sensory disability that impacts their ability to use input devices.

Example: Programatically determined link context

Lacking description of link destination:
Click here

Good description of link destination:
Web Content Accessibility Guidelines home page

Heuristically-obtained description of link destination:
For information about the Web Content Accessibility Guidelines, Read more.

Description of examples:

  1. The link to the WCAG home page does not have a description of where it goes. The description is in this paragraph but the association is not programatically determined.
  2. The link has its destination directly associated.
  3. The link has its destination explained in the same paragraph. AT could retrieve this information easily, although it does not now. This is not programatically determined, but may be if AT support evolves.

Principle 3: Understandable

Users must be able to understand content.

Example: Ruby to clarify pronunciation of text

慶應義塾大学 ( けいおうぎじゅくだいがく )

Ruby is used to give the reading of Han characters (Kanji). The pronunciation information is rendered in parentheses immediately following the base text. (User agents that support Ruby do not show the parentheses.)

Principle 4: Robust

Example: Parsing

<p>This contains <b>bold, <i>italic</b> text</i>.</p>

This HTML code may be parsed into various representations by user agents.

Resources

Thank You

Michael Cooper
cooper@w3.org