html-has-lang
References
axe-core, html-has-lang
axe-core, html-lang-valid
Rule details
This rule takes no arguments.
Succeed
<html
lang
=
"en"
>
<html
lang
=
"en-US"
>
<html
lang
=
{language}
>
Fail
<html>