Skip to Main Content

Accessibility Testing Procedure

Previous Topic

Next Topic

Book Contents

Book Index

Parsing

Guideline

In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.

Intent

The intent of this regulation is to ensure that user agents, including assistive technologies, can accurately interpret and parse content. If the content cannot be parsed into a data structure, then different user agents may present it differently or be completely unable to parse it. Some user agents use "repair techniques" to render poorly coded content.

Since repair techniques vary among user agents, authors cannot assume that content will be accurately parsed into a data structure or that it will be rendered correctly by specialized user agents, including assistive technologies, unless the content is created according to the rules defined in the formal grammar for that technology. In markup languages, errors in element and attribute syntax and failure to provide properly nested start/end tags lead to errors that prevent user agents from parsing the content reliably. Therefore, this requirement requires that the content can be parsed using only the rules of the formal grammar.

Finding Applicable Components

Load each page or document into a validating parser, such as the W3C Markup Validation Service.

Inspecting and Using Components

Section 508/WCAG 2.0 Failure Conditions

Reporting Test Results

There are no applicable baseline test results for this requirement.

For sharing test results between Agencies, the results of Section 508 Conditions and Reporting Test Results must be reported.

See Also

Accessibility Guidelines

Alternate Pages

Audio Controls

Audio Descriptions

Bypass Blocks

Captions

Color Contrast

Error Identification

Error Suggestion

Focus Order

Focus Visible

Forms

Frames

Headings

Image Maps

Images

Keyboard Accessible

Keyboard Shortcuts

Language

Links and User Controls

Meaningful Sequence

Multiple Ways

Multi-state Components

Non-Text Contrast

Orientation

Page Titles

Pause, Stop, Hide

Pre-recorded Audio and Video

Reflow

Resize Text

Status Messages

Tables

Target Size

Text Spacing

Three Flashes or Below

Timing Adjustable

Use of Color