<html> document elements have a
This rule tests conformance of the following accessibility requirements:
This rule makes the following assumption:
langattribute is being used to conform to WCAG. As such, this rule doesn't test if the attribute is needed to conform to WCAG.
This rule has the following accessibility support concern:
<object>elements are not applicable as
<object>elements create nested browsing contexts. However, as these elements are meant to provide a layer of isolation, the declared language of their parent browsing context will likely not be inherited, making it possible for empty
langattributes in nested browsing contexts to also cause accessibility issues.
<html lang=" "></html>
<svg xmlns="http://www.w3.org/2000/svg" lang="en"></svg>
This document includes material copied from or derived from https://www.w3.org/WAI/standards-guidelines/act/rules/b5c3f8/. Copyright © 2023 W3C® (MIT, ERCIM, Keio, Beihang).