A page with an excerpt from a proposed "Constitution for the European Union: Swedish version" (http://europa.eu.int/eur-lex/lex/LexUriServ/LexUriServ.do?uri=OJ:C:2004:310:0011:0040:SV:PDF). The html element has lang and xml:lang attributes with the value "sv", the correct language code for Swedish, to indicate the primary language of the page. Correct <html:code>lang</html:code> and <html:code>xml:lang</html:code> attributes for content in Swedish 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 (Swedish) is correctly identified.

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

automatic

The browser can find the default human language of the document.

The html element has correct lang and xml:lang attributes (sv for Swedish).

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 (sv for Swedish).

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_030.

The browser can find the primary language of the document.

The html element has correct lang and xml:lang attributes (sv for Swedish).