You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _rules/html-page-lang-matches-default-ucwvc8.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,10 @@ This rule applies to any [document element][] if it is an `html` element for whi
41
41
- The [document element][] is in a [top-level browsing context][]; and
42
42
- The [document element][] has a [content type][] of `text/html`; and
43
43
- The [document element][] has a defined [default page language][]; and
44
-
- The [document element][] has at least one [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant)[text node][] which is neither empty nor only [whitespace][].
44
+
- The [document element][] has at least one of the following [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) that is not empty or only [whitespace][]:
45
+
- [text node][] that is included in the accessibility tree; or
46
+
- an element's [accessible name][] or [accessible description](https://www.w3.org/TR/accname-1.1/#dfn-accessible-description) that is exposed in the accessibility tree; or
0 commit comments