Closed Nancy-Salpepi closed 1 year ago
This is happening because the change in focus happens after the reset (focus moves from draggable book to grabbable book). The name response from the focus listener cancels the context response of the ResetAllButton. (I don't understand yet why the focus event happens after the reset callback, but it does currently).
We have previously assumed that the focus response should be high priority and generally cancel context responses. This is a case where that isn't great. I might check with @terracoda about whether this should be fixed.
With VoiceOver and NVDA, after using the shortcut keys, information about the chemistry book is given and then "Reset All. Everything Reset." is heard.
Thanks @Nancy-Salpepi. That makes sense and I could see that happening with the shift in focus described in https://github.com/phetsims/friction/issues/336#issuecomment-1414274749. That behavior is expected and good (and there is also little we can do about it). Ill check with @terracoda today about the expectation for Voicing.
@terracoda and I discussed this and we are OK with this behavior, we want the behavior with focus responses to be consistent even though this particular case is a little odd. The user will hear the Reset All sound, so that indicates successful reset.
@Nancy-Salpepi I am going to go ahead and close, please reopen if you have any concerns.
Test device MacBook Air (m1 chip)
Operating System 13.1
Browser safari/chrome/firefox
Problem description For https://github.com/phetsims/qa/issues/886, if the Chemistry Book has keyboard focus and I use the shortcut
option
+R
to reset the sim, Voicing doesn't say "Reset All. Everything Reset." Instead it gives information about the Chemistry Book.Steps to reproduce
Spacebar
option
+R
Visuals
https://user-images.githubusercontent.com/87318828/216419873-cf2c4065-0ee3-493d-af2b-2f8b2ae7861d.mov