A page with an excerpt from a proposed "Constitution for the European Union: Portuguese version" (http://europa.eu.int/eur-lex/lex/LexUriServ/site/pt/oj/2004/c_310/c_31020041216pt00110040.pdf). The html element has lang and xml:lang attributes with the value "pt", the correct language code for Portuguese, 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 Portuguese 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 (Portuguese) is correctly identified.

This test case can be evaluated automatically when using a test tool with reliable automatic language recognition for Portuguese, 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 (pt for Portuguese).

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 (pt for Portuguese).

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

The browser can find the primary language of the document.

The html element has correct lang and xml:lang attributes (pt for Portuguese).