DRAFT DOCUMENT

This is a draft document supplied by the WCAG Techniques Task Force. It in no way represents a
WCAG Working Group consensus or agreement and is provided for informational and discussion purposes only.
The accessibility test listed below should not be construed as required for conformance with the
proposed WCAG2.

Prerequisite Tests

Test Process

Procedure

If the content is XHTML 1.0, or any version of XHTML served as "text/html", check for both the html element's lang attribute and XML:lang attribute.

If the content is XHTML 1.1 or higher and served as type "application/xhtml+xml", check for the html element's XML:lang attribute.

Expected Results

Content has required lang attribute(s).

Fail Instructions

Add a valid lang attribute(s) to the html element.

Pass Instructions

Any accessibility check may be performed after this test.

Test Files

These test files contain examples of the accessibility problem detectable by this test.
They may also contain more accessibility problems than the one described in this test.
Please ignore any extraneous accessibility problems in these files.