Skip to Main Content

Accessibility Testing Procedure

Previous Topic

Next Topic

Book Contents

Book Index

Language

Last Updated:

Guideline

The default human language of each Web page can be programmatically determined.

Intent

The intent of this requirement is to ensure that content developers provide information in the Web page that user agents need to present text and other linguistic content correctly. Both assistive technologies and conventional user agents can render text more accurately when the language of the Web page is identified. Screen readers can load the correct pronunciation rules. Visual browsers can display characters and scripts correctly. Media players can show captions correctly. As a result, users with disabilities will be better able to understand the content.

Finding Applicable Components

Identify the default language of the page, and any content that differs from the default language.

Inspecting and Using Components

Check that there is an accurate default language attribute set for the page by inspecting the HTML element with the browser developer tools.

Check that there is an accurate language attribute set for each passage that is different from the page's default language.

Check that the language attributes match the actual language used. Exceptions: proper names, technical terms, or foreign words that have become part of the vernacular.

Section 508/WCAG 2.0 Failure Conditions

Reporting Test Results

Any failure in Section 508 Failure Conditions results in: Fails Baseline Requirement #17.

The language for the page is programmatically set, AND any passages that differ to the default language of the page are programmatically identified then: Passes Baseline Requirement #17.

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

Links and User Controls

Meaningful Sequence

Multiple Ways

Multi-state Components

Non-Text Contrast

Orientation

Page Titles

Parsing

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