BenToWeb Rulesets XML 1.0

Resource Directory (RDDL document) for BenToWeb Rulesets XML 1.0.

This Version: 11 January 2006.

Latest Version: http://bentoweb.org/refs/rulesets.

Previous Version: none.

Editors:

Purpose and General Description

Rulesets XML is an XML vocabulary for identifying and referencing accessibility checkpoints, success criteria or rules. A Rulesets XML serves as a global map of rulesets such as WCAG 1.0, WCAG 2.0, Section 508 and BITV and as a bridge between test case metadata (possibly described using TCDL) and those rulesets. An example ruleset, used in the BenToWeb project, is available at http://bentoweb.org/refs/rulesets.xml. Rulesets XML uses the namespace http://bentoweb.org/refs/rulesets; a W3C XML Schema is available at http://bentoweb.org/refs/schemas/rulesets.xsd.

Structure of Rulesets XML

The parts of a rulesets file are named after the constituent parts of WCAG 2.0 but should be sufficiently generic to be used for other rulesets.

Ruleset

A Rulesets XML document contains one or more rulesets (ruleset elements). Examples of rulesets are WCAG 1.0, WCAG 2.0, Section 508 and BITV. Working drafts of rulesets can also count as rulesets; for example, it is possible to treat the 30 June 2005 Working Draft of WCAG 2.0 as a different ruleset than the 23 November 2005 Working Draft of WCAG 2.0. All that is necessary is that each rulesets has a different and stable URL.

Each ruleset has:

Guideline

A ruleset consists of one or more subdivisions or “guidelines”: each ruleset element contains one or more guideline elements.

Each guidelines has:

Success Criterion

A “guideline” may consist of one or more subdivisions or “success criteria”: each guideline element can contain one or more successCriterion elements.

Each success criterion has:

Success criteria have no further subdivisions.

Example: BenToWeb's rulesets.xml

In BenToWeb's rulesets.xml, a ruleset consists of guidelines and a guideline may consist of success criteria. Depending on the ruleset, guidelines and success criteria refer to:

The value of the name attribute of a guideline element corresponds to

The id attribute of the guideline element is required; name cannot serve this purpose because IDs must not start with a number.

For each guideline, all success criteria or checkpoints are listed as successCriterion elements. The value of the name attribute of a successCriterion element corresponds to

The level attribute is optional except for WCAG 2.0.

RDDL Resources