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

Disabled step button should be focusable #157

Closed
jessegreenberg opened this issue Sep 19, 2017 · 5 comments
Closed

Disabled step button should be focusable #157

jessegreenberg opened this issue Sep 19, 2017 · 5 comments
Assignees

Comments

@jessegreenberg
Copy link
Contributor

According to https://ux.stackexchange.com/questions/103239/should-disabled-elements-be-focusable-for-accessibility-purposes it is an a11y recommendation that disabled buttons remain focusable. @mbarlow12 would you please make the step button focusable when it is disabled?

@jessegreenberg
Copy link
Contributor Author

Sorry, I have definitely heard this elsewhere, but that resource might not be correct! Lets sort out phetsims/sun#317 before looking into this issue.

@jessegreenberg
Copy link
Contributor Author

In phetsims/sun#317 we decided that disabled buttons should stay in the navigation order, so we can proceed with this issue.

@mbarlow12
Copy link
Contributor

Handled in above commit and noted in added comments. @jessegreenberg is it worth making a new chip-away issue for common code types that can be disabled like StepButton, RoundPushButton, and RoundToggleButton?

@mbarlow12 mbarlow12 assigned jessegreenberg and unassigned mbarlow12 Oct 2, 2017
@jessegreenberg
Copy link
Contributor Author

Commit looks good @mbarlow12, thanks. I think it would be good to move that note out of StepButton to a more general design doc that collects PhET a11y considerations, Ill go ahead and move it if you agree.

@jessegreenberg
Copy link
Contributor Author

is it worth making a new chip-away issue for common code types that can be disabled like StepButton, RoundPushButton, and RoundToggleButton?

I don't think so @mbarlow12, this was the one of the first a11y sims that had a disabled button, and the rest of our button types are staying in the focus order by default (I checked RoundButtonView to make sure).

I think this can be closed.

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

No branches or pull requests

2 participants