diff --git a/_rules/element-lang-matches-default-language-off6ek.md b/_rules/element-lang-matches-default-language-off6ek.md index bb6f033f299..b4e907f9bc6 100644 --- a/_rules/element-lang-matches-default-language-off6ek.md +++ b/_rules/element-lang-matches-default-language-off6ek.md @@ -141,6 +141,8 @@ This `div` element has a `lang` [attribute value][] of `en` (English), which mat This `span` element has a `lang` [attribute value][] of `fr` (French), which matches one of its [most common languages][most common language]. The most common languages are both English and French because all the words belong to both languages. +**Note**: The `body` element in HTML are optional and will be added by the browser. + ```html

diff --git a/pages/glossary/default-page-language.md b/pages/glossary/default-page-language.md index a185a05078c..f6f15d28169 100755 --- a/pages/glossary/default-page-language.md +++ b/pages/glossary/default-page-language.md @@ -10,7 +10,7 @@ input_aspects: - Language --- -The _default language of a [web page][]_ is the [most common language][] of its [top-level browsing context](https://html.spec.whatwg.org/#top-level-browsing-context) [document][], if it is unique. If this [document][] has either no or several [most common languages][most common language], then it has no default language. +The _default language of a [web page][]_ is the [most common language][] of its [top-level browsing context](https://html.spec.whatwg.org/#top-level-browsing-context) [document][], if it is unique. If this [document][] has no [most common languages][most common language], then it has no default language. For more details, see [examples of default language][]. diff --git a/pages/glossary/most-common-language.md b/pages/glossary/most-common-language.md index 1bfa1419abe..e209a94ee91 100755 --- a/pages/glossary/most-common-language.md +++ b/pages/glossary/most-common-language.md @@ -10,7 +10,7 @@ input_aspects: - Language --- -The _most common language of an element_ is determined by counting the number of _words_ in the [text inheriting its programmatic language][] from this element that are part of any of the languages in the [language subtag registry][]. The same word can be part of multiple languages. In case of ties, the element has several most common languages. If there are no words in the [text inheriting its programmatic language][] from the element, then it has no most common language. +The _most common language of an element_ is determined by counting the number of _words_ in the [text inheriting its programmatic language][] from this element that are part of any of the languages in the [language subtag registry][]. The same word can be part of multiple languages. In case of a tie, the first of the tied languages used in the text is the most common language. If there are no words in the [text inheriting its programmatic language][] from the element or the tie cannot be resolved, then it has no most common language. For more details, see [examples of most common language][].