RAWEBA
8.3 On each web page, is the default language present?
- WCAG references
- 3.1.1 Language of Page (A)
- Techniques
- H57
Official methodology to test criterion 8.3
Test 1 (8.3.1)
- Find the default language indication in the document.
- Check for the presence of a language indication
- either using the lang attribute on the html tag if the code is HTML5 or HTML4;
- or using the lang and xml:lang attributes on the html tag if the code is XHTML 1.0;
- or using the xml:lang attribute on the html tag if the code is XHTML 1.1;
- otherwise, check for the presence of a language indication on each text element or one of its parents.
- If this is the case, the test is validated.