A page with the first few sentences of Theodor Fontane's novel "Effi Briest", in German. The html element has lang and xml:lang attributes with the value for German ("de"). Correct <html:code>lang</html:code> and <html:code>xml:lang</html:code> attributes for primary language of content in German Christophe.Strobbe@esat.kuleuven.be en Copyright BenToWeb 2004-2007 2005-09-01 validated Specifying the language of content: the lang attribute

This test case is intended to pass because the default human language of the content is correctly identified. Only the primary language is tested here, not language changes inside the content.

This test case can be evaluated automatically when using a test tool with reliable automatic language recognition for German and support for lang and xml:lang attributes and language tags.

automatic

The browser can find the primary language of the document.

The html element has correct lang and xml:lang attributes.

This test case maps to technique H57: Using language attributes on the html element.

The browser can find the primary language of the document.

The html element has correct lang and xml:lang attributes.

This test case maps to technique H57: Using the lang attribute of the html element (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H57).

Online version: sc3.1.1_l1_001.

The browser can find the primary language of the document.

The html element has correct lang and xml:lang attributes.