-
Notifications
You must be signed in to change notification settings - Fork 12
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
why does Checkbox need a separate listener for keyboard input? #487
Comments
Transferring this issue from scenery-phet to sun, since Checkbox lives in sun. |
This listener was added before phetsims/scenery#888, but since that is done there is no need to have a separate listener for a11y. Response to a11y input should probably be moved to ButtonListener, but I am going to review usages of ButtonListener to make sure. |
ButtonListener was instrumented for a11y in #959, and this a11y listener was removed from Checkbox. |
Closing since the listener was removed from Checkbox. |
Noted while working on #488.
Checkbox has this code related to "firing" of its state change:
Why do we need to add another listener for a11y that calls the exact same function as the ButtonListener that was already added? This should be handled by ButtonListener; it should be able to handle all types of button input, including keyboard/AT, not just pointer.
The text was updated successfully, but these errors were encountered: