Skip to content

Commit 20ac79a

Browse files
Update html-page-lang-matches-default-ucwvc8.md
1 parent 1f03b84 commit 20ac79a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

_rules/html-page-lang-matches-default-ucwvc8.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ This rule applies to any [document element][] if it is an `html` element for whi
4141
- The [document element][] is in a [top-level browsing context][]; and
4242
- The [document element][] has a [content type][] of `text/html`; and
4343
- 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
47+
- the document's title.
4548

4649
## Expectation
4750

0 commit comments

Comments
 (0)