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

fixrule(input_label_visible, input_placeholder_label_visible, input_checkboxes_grouped): tight the scope of the rules and merge help #1944

Merged
merged 11 commits into from
Jul 29, 2024

Conversation

shunguoy
Copy link
Contributor

@shunguoy shunguoy commented Jul 8, 2024

  • Rule bug: input_label_visible, input_placeholder_label_visible, input_checkboxes_grouped

This PR is related to the following issue(s):

Fixes #1625
Fixes #1621
Fixes #1623
Fixes #1946

Testing reference:

  1. Test case for Revisit: input_label_visible - can we tighten scope? #1623 (Input_label_visible) & Revisit: input_placeholder_label_visible - can we tighten scope? #1625 (Input_placeholder_visible): test/v2/checker/accessibility/rules/input_label_visible_ruleunit/elements_visible_label.html
    filter to the Requirements for 3.3.2 Labels or Instructions
    Original: 9 NR respectively from the Input_label_visible & Input_placeholder_visible rules
    After fix: 6 NR left from the Input_label_visible rule the original Input_placeholder_visible rule was merged to Input_label_visible rule. Notice that the messages were changed too.

  2. The change for Revisit: input_checkboxes_grouped - can we tighten scope? #1621 (input_checkboxes_grouped) was on the styles, the code logic doesn’t change so the result should be the same (see test case: test/v2/checker/accessibility/rules/input_checkboxes_grouped_ruleunit/AllFailures.html).

  3. View new merged help for formatting and valid links (screenshots in issues)

I have conducted the following for this PR:

  • I validated this code in Chrome and FF
  • I validated this fix in my local env
  • I provided details for testing
  • This PR has been reviewed and is ready for test
  • I understand that the title of this PR will be used for the next release notes.

@shunguoy shunguoy changed the title fixrule(input_label_visible, input_placeholder_label_visible, input_checkboxes_grouped): tight the scopes of the rules fixrule(input_label_visible, input_placeholder_label_visible, input_checkboxes_grouped): tight the scope of the rules Jul 17, 2024
@philljenkins philljenkins linked an issue Jul 17, 2024 that may be closed by this pull request
@philljenkins philljenkins changed the title fixrule(input_label_visible, input_placeholder_label_visible, input_checkboxes_grouped): tight the scope of the rules fixrule(input_label_visible, input_placeholder_label_visible, input_checkboxes_grouped): tight the scope of the rules and merge help Jul 18, 2024
@philljenkins philljenkins marked this pull request as ready for review July 18, 2024 18:23
@philljenkins
Copy link
Contributor

philljenkins commented Jul 18, 2024

After help and rules changes, the rule is correctly display in the Rule Set listing

  • and input_placeholder_label_visible has been removed and merged into input_label_visible

image

@ErickRenteria
Copy link
Contributor

Under test

@ErickRenteria
Copy link
Contributor

Additional information is require for validation.

@ErickRenteria
Copy link
Contributor

Validated

@ErickRenteria ErickRenteria merged commit 4c92a58 into master Jul 29, 2024
15 checks passed
@tombrunet tombrunet deleted the dev-1623 branch August 2, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment