Skip to content

Commit

Permalink
Update elm-lang-valid example descriptions (#1713)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed Sep 28, 2021
1 parent a8a8413 commit 2a68d54
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _rules/element-lang-valid-de46e4.md
Expand Up @@ -64,7 +64,7 @@ There are differences in how assistive technologies handle unknown and invalid l

#### Passed Example 1

This `article` element has a `lang` [attribute value][] which is not empty (`""`) and has a [valid language tag][].
This `article` element has a `lang` [attribute value][] which has a [valid language tag][].

```html
<html>
Expand All @@ -78,7 +78,7 @@ This `article` element has a `lang` [attribute value][] which is not empty (`""`

#### Passed Example 2

This `blockquote` element has a `lang` [attribute value][] which is not empty (`""`) and has a [valid language tag][]. The region section in the value is ignored by the rule (and the definition of [valid language tag][]).
This `blockquote` element has a `lang` [attribute value][] which has a [valid language tag][]. The region section ("CH") in the value is ignored by the rule (and the definition of [valid language tag][]).

```html
<html>
Expand Down Expand Up @@ -138,7 +138,7 @@ This `div` element has a valid `lang` [attribute value][]. The [accessible name]

#### Failed Example 1

This `article` element has a `lang` [attribute value][] which does not have a [valid language tag][] because its primary language subtag does not exist in the registry.
This `article` element has a `lang` [attribute value][] which does not have a [valid language tag][] because its primary language subtag does not exist in the [language subtag registry][].

```html
<html>
Expand Down Expand Up @@ -339,3 +339,4 @@ There is no [text inheriting its programmatic language][] from this `div` elemen
[valid language tag]: #valid-language-tag
[visible]: #visible 'Definition of visible'
[whitespace]: #whitespace 'Definition of Whitespace'
[language subtag registry]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

0 comments on commit 2a68d54

Please sign in to comment.