<html> element must have a lang attribute
Moderatehtml-has-lang
What it checks
Ensure every HTML document has a lang attribute
How to fix it
Add a lang attribute to the <html> element
WCAG
Success criteria 3.1.1. See the WCAG 2.2 quick reference.
More detail: Deque University's page on this rule.