Global lang-attribute validity (validity)

The global language attribute includes a valid language code such as for example, "en", "fr" or "fi" (ISO 639-1 Language Codes)


Missing lang attribute, xml only:

This page includes only xml:lang="en" on the <html> element. Because it does not include a lang attribute, it fails WCAG 3.1.1.


Note: Possible to implement because the absence of a valid lang attribute on the <html> element can be detected via static HTML inspection.

axe detected: 3.1.1  |  QualWeb detected: 3.1.1