Skip to content
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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sabernhardt
Copy link

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

  • Go to the “Files changed” tab
  • Here you will have the option to leave comments on different lines.
  • Once the review is completed, find the “Review changes” button in the top right, select “Approve” (if you are really confident in the rule) or "Request changes" and click “Submit review”.
  • Make sure to also review the proposed Call for Review period. In case of disagreement, the longer period wins.

@CLAassistant
Copy link

CLAassistant commented May 28, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@Jym77 Jym77 left a 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][].
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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][].
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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][].

Copy link
Collaborator

@giacomo-petri giacomo-petri left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants