Skip to content

Commit

Permalink
Correct descriptions of failed examples in valid language tag rule (#…
Browse files Browse the repository at this point in the history
…2194)

* Correct descriptions of failed examples

* Update _rules/html-page-lang-valid-bf051a.md

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update _rules/html-page-lang-valid-bf051a.md

Co-authored-by: Jean-Yves Moyen <[email protected]>

---------

Co-authored-by: Carlos Duarte <[email protected]>
Co-authored-by: Jean-Yves Moyen <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent 041fe61 commit 333bea2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _rules/html-page-lang-valid-bf051a.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,23 @@ This `html` element has a `lang` attribute with a [known primary language tag][]

#### Failed Example 1

This `html` element has a `lang` attribute with a [known primary language tag][].
This `html` element has a `lang` attribute, with no [known primary language tag][].

```html
<html lang="em-US"></html>
```

#### Failed Example 2

This `html` element has a `lang` attribute with a [known primary language tag][].
This `html` element has a `lang` attribute, with no [known primary language tag][].

```html
<html lang="#1"></html>
```

#### Failed Example 3

The `lang` attribute of this page is an [iso 639.2][] three letters code, which has no [known primary language tag][].
The `lang` attribute of this page is an [iso 639.2][] three-letter code, which has no [known primary language tag][].

```html
<html lang="eng">
Expand Down

0 comments on commit 333bea2

Please sign in to comment.