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

Added assumption for SC3-1-2-lang-valid #413

Merged
merged 3 commits into from
Mar 21, 2019
Merged

Added assumption for SC3-1-2-lang-valid #413

merged 3 commits into from
Mar 21, 2019

Conversation

Brynanders
Copy link
Collaborator

Based on discussion in #348

Based on discussion in #348
@Brynanders Brynanders added reviewer wanted Rule Use this label for a new rule that does not exist already labels Jan 29, 2019
@Brynanders Brynanders added this to Needs Review in Rules Progress via automation Jan 29, 2019
@annethyme
Copy link
Collaborator

We discussed in #348 if the language attribute was applied to a single word, if that was a WCAG violation.

With the now added assumption, we cover both this case and also cases where a part of the content has been marked up with an incorrect language attribute, but where a language attribute is not needed at all because the language of the part is the same as the language of the whole page.

@Brynanders Brynanders requested review from jeeyyy, audreymaniez and carlosapaduarte and removed request for carlosapaduarte March 1, 2019 15:48
Copy link
Collaborator

@audreymaniez audreymaniez left a comment

Choose a reason for hiding this comment

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

👍

@@ -27,7 +27,7 @@ The `lang` and `xml:lang` attributes have a [valid language subtag](#valid-langu

## Assumptions

*There are currently no assumptions*
The `lang` or `xml:lang` attribute is being used to comply to WCAG.
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this explains anything. Can you explain?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@WilcoFiers fair point. It relates to this conversation and comment #348 (comment).

How about the following.

This rule assumes that the presence of a lang or xml:lang attribute is being used to comply to WCAG. This rule doesn't test if the attribute is needed to comply to WCAG.

Rules Progress automation moved this from Needs Review to CFC (Reviewer Approved) Mar 12, 2019
@annethyme
Copy link
Collaborator

@WilcoFiers, do you think an update like this has to go into CFC stage, or can we just merge as is?

Copy link
Member

@carlosapaduarte carlosapaduarte left a comment

Choose a reason for hiding this comment

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

You have a typo on the description: "has" should be "have" (because it's referring to attributes)

@jeeyyy jeeyyy merged commit d0ccf33 into master Mar 21, 2019
Rules Progress automation moved this from CFC (Reviewer Approved) to Done Mar 21, 2019
@jeeyyy jeeyyy deleted the Brynanders-patch-3 branch March 21, 2019 15:50
@jeeyyy
Copy link
Collaborator

jeeyyy commented Mar 21, 2019

Discussed on the call, that we are happy to merge this.

kasperisager added a commit that referenced this pull request Apr 10, 2019
* master:
  Rule update: "HTML page has a title" (#440)
  Rule update: "aria attribute allowed" and "aria required states and properties" (#436)
  Changed succescriteria from 4.1.2 to 1.3.1 (#449)
  Rename SC1-2-Video-description-track.md to SC1-2-video-description-track.md
  Glossary: add "Accessibility Support" to "Semantic role" term (#442)
  SC1-1-1-filename-is-valid-accessible-name (#263)
  Added assumption for SC3-1-2-lang-valid (#413)
  Update SC4-1-1-unique-id.md
  fix: update applicability
  fix: revert definitions
  fix: update glossary
  fix: applicability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agenda item Rule Use this label for a new rule that does not exist already
Projects
No open projects
Rules Progress
  
Published
Development

Successfully merging this pull request may close these issues.

None yet

7 participants