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)


Invalid three-letter lang tag:

This page uses lang="eng", which is a three-letter code from ISO 639-2. However, this format is not valid as a primary language subtag in HTML, and therefore the lang value is invalid and fails WCAG 3.1.1.


I love ACT rules!

Note: Possible to automatically test. The lang value can be checked against accepted language tag formats to detect invalid primary language codes.

axe detected: 3.1.1  |  QualWeb detected: 3.1.1