User Impact: Major
Disabilities Affected:
WCAG Version:
2
WCAG Levels:
WCAG Guidelines:
Solution Techniques:
Automated Test Accuracy:
High
Check1st Severity:
2
DRRSAG Designations:
Identify the default language of a document by providing a xml:lang attribute with correct value.
Engine scans for an empty or invalid xml-lang attribute on the document (HTML element)
The objective of this technique is to identify the default language of a document by providing the lang and/or xml:lang attribute on the html element.Identifying the language of the document is important for a number of reasons:It allows braille translation software to adapt accordingly.Speech synthesizers that support multiple languages will be able to speak the text in the appropriate accent with proper pronunciation.