-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct descriptions of failed examples in valid language tag rule #2194
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted 👍 A bit of polishing.
@@ -90,23 +90,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, but it is not a [known primary language tag][]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This `html` element has a `lang` attribute, but it is not a [known primary language tag][]. | |
This `html` element has a `lang` attribute, with no [known primary language tag][]. |
The value of the lang
attribute is not (and does not need to be) a primary language tag, only the, well, primary tag needs to be.
|
||
```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, but it is not a [known primary language tag][]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This `html` element has a `lang` attribute, but it is not a [known primary language tag][]. | |
This `html` element has a `lang` attribute, with no [known primary language tag][]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with @Jym77's changes.
The first two failed examples do not have a known primary language tag, and the third example could say "three-letter code."
Need for Call for Review:
This will not require a Call for Review: editorial changes (examples section)
How to Review And Approve