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

feat(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup rules #1640

Merged
merged 4 commits into from
Jul 30, 2019

Conversation

straker
Copy link
Contributor

@straker straker commented Jun 18, 2019

As per #176 (comment), deprecating the rules as they cause too many false positives.

As per our discussion on deprecating rules:

  • can only happen in major or minor releases
  • should disable the rule in the JSON
  • should add the deprecated tag

Linked issue: #176
Closes: #1315

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Has documentation updated, a DU ticket, or requires no documentation change
  • Includes new tests, or was unnecessary
  • Code is reviewed for security by: Stephen

@straker straker requested a review from a team as a code owner June 18, 2019 16:40
@straker
Copy link
Contributor Author

straker commented Jun 18, 2019

Should also get @dylanb or @WilcoFiers approval before merging.

@dylanb
Copy link
Contributor

dylanb commented Jun 19, 2019

Please hold this until we have had a discussion about the best path for replacement

@straker straker changed the title fix(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup [WIP] fix(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup Jul 10, 2019
@straker straker changed the title [WIP] fix(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup feat(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup Jul 26, 2019
@straker straker changed the title feat(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup feat(radiogroup, checkboxgroup): deprecate radiogroup and checkboxgroup rules Jul 26, 2019
"metadata": {
"description": "Ensures related <input type=\"checkbox\"> elements have a group and that the group designation is consistent",
"help": "Checkbox inputs with the same name attribute value must be part of a group"
},
"enabled": false,
"all": [],
"any": ["group-labelledby", "fieldset"],
Copy link
Contributor

Choose a reason for hiding this comment

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

I created an issue, because these two checks will also have to be deprecated. That has to be in a different PR though: #1733

@straker straker merged commit 6d30880 into develop Jul 30, 2019
@straker straker deleted the disableRaidoCheckboxRules branch July 30, 2019 14:04
@mohanraj-r
Copy link
Contributor

Are there suggested replacement rules to use in place of the deprecated ones ?

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.

fieldset check should not prioritise fieldset over aria group
5 participants