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

Checkbox Example (Mixed-State): Toggle on keyup to prevent continuous toggling #2722

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

sivakusayan
Copy link
Contributor

@sivakusayan sivakusayan commented Jun 8, 2023

This is a follow-up PR to #2518 where Checkbox Example (Two State) was changed to only toggle on keyup. I think it makes sense to make the same change to Checkbox Example (Mixed-State) for consistency.

(Just a head's up, this is a resubmitting of #2541)


WAI Preview Link (Last built on Tue, 13 Jun 2023 18:40:15 GMT).

@sivakusayan
Copy link
Contributor Author

sivakusayan commented Jun 9, 2023

It seems the failing test has to do with the toolbar example, where we try to click the font family button in the toolbar and no dropdown menu appears from the button.

Is this test flaky? I feel like I'm able to open the dropdown when opening the example in the browser just fine. I guess I would be surprised if this checkbox change caused this to fail.

@mcking65
Copy link
Contributor

@ccanash, will you please assign someone to investigate the cause of the failing test? I re-ran all tests, and it continues to fail.

@mcking65 mcking65 added bug Code defects; not for inaccurate prose Example Page Related to a page containing an example implementation of a pattern labels Jun 10, 2023
@mcking65 mcking65 changed the title Make sure mixed checkbox toggles on keyup Checkbox Example (Mixed-State): Toggle on keyup to prevent continuous toggling Jun 10, 2023
@a11ydoer a11ydoer self-requested a review June 13, 2023 18:16
@css-meeting-bot
Copy link
Member

The ARIA Authoring Practices (APG) Task Force just discussed Checkbox Example (Mixed-State): Toggle on keyup to prevent continuous toggling by sivakusayan · Pull Request #2722 · w3c/aria-practices.

The full IRC log of that discussion <jugglinmike> subtopic: Checkbox Example (Mixed-State): Toggle on keyup to prevent continuous toggling by sivakusayan · Pull Request #2722 · w3c/aria-practices
<jugglinmike> github: https://github.com//pull/2722
<jugglinmike> Matt_King: We've already merged a similar pull request for the two-state checkbox
<Jem> rrsagent, make minutes
<RRSAgent> I have made the request to generate https://www.w3.org/2023/06/13-aria-apg-minutes.html Jem
<jugglinmike> Matt_King: We need volunteers for code review and functional testing
<sirib> can we discuss about https://github.com//issues/1233, https://github.com//issues/1947 if you have time
<jugglinmike> Jem: I can perform the reviews

@howard-e
Copy link
Contributor

howard-e commented Jun 13, 2023

will you please assign someone to investigate the cause of the failing test? I re-ran all tests, and it continues to fail.

@mcking65 @sivakusayan since w3c/wai-aria-practices#220 has now been merged, I was able to re-run the actions successfully. The link to the preview is now available in the top comment.

Is this test flaky?

There was indeed a flaky regression test. I re-ran it and it now builds without an issue.

@css-meeting-bot
Copy link
Member

The ARIA Authoring Practices (APG) Task Force just discussed Checkbox Example (Mixed-State): Toggle on keyup to prevent continuous toggling by sivakusayan · Pull Request #2722 · w3c/aria-practices.

The full IRC log of that discussion <jugglinmike> subtopic: Checkbox Example (Mixed-State): Toggle on keyup to prevent continuous toggling by sivakusayan · Pull Request #2722 · w3c/aria-practices
<jugglinmike> github: https://github.com//pull/2722
<jugglinmike> Matt_King: It seems like someone should have been assigned to review the code
<jugglinmike> andrea_cardona: I can review it
<jugglinmike> Matt_King: Awesome; I'll assign you right now

@mcking65 mcking65 removed the request for review from a11ydoer June 26, 2023 01:22
Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

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

Thank you @sivakusayan, the changes are working as expected. This is a good improvement to the behavior.

@mcking65 mcking65 merged commit 049893e into w3c:main Jun 26, 2023
@mcking65 mcking65 added this to the H1/2023 Content Updates milestone Jun 26, 2023
@mcking65
Copy link
Contributor

With this commit, #2425 is now fully resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code defects; not for inaccurate prose Example Page Related to a page containing an example implementation of a pattern
Development

Successfully merging this pull request may close these issues.

6 participants