-
Notifications
You must be signed in to change notification settings - Fork 6
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
Focus lost when using ESC key to close dialog (when system focus not visible on Close button) #114
Comments
@zepumph here's the issue in RIAW phetsims/resistance-in-a-wire#143 |
@zepumph re-assigning to @jessegreenberg. |
Hmm, the fix in RIAW was verified to work for both both JAWS and VoiceOver, so something different is happening in this case. |
Testing on Safari 11.1.1, macOS 10.13.5 - If the virtual cursor is on the H1 or H2 in the keyboard help dialog, this bug does not happen. It only happens if escape is pressed while virtual cursor is inside the list items in the dialog. |
This isn't related to fake inputs sent by VoiceOver. Also, I can see the focus highlight flash around the keyboard help dialog button for half a second, then it disappears. |
If I disable the VO user setting "Synchronize keyboard focus and VoiceOver cursor" this problem goes away. So for some reason, VO is moving the virtual cursor to the navigation bar in this case, and focus is going with it. I do see a focus event on the NavigationBar. |
With the setting for "Synchronize keyboard focus and VoiceOver cursor" enabled, if I remove the |
@jessegreenberg, I apologize for my incorrect summary of the verified platforms in #114 (comment). |
@jessegreenberg, I can't find the VO setting, "Synchronize keyboard focus and VoiceOver cursor" in MacOS High Sierra 10.13.4. The focus behaviour is very strange, and seems to be very specific to a VO user setting. While it would be useful for me to do further investigation of what the purpose of this setting is, I don't think this issue needs to hold up RC testing for BASE or publications of any A11y sims. Reasoning:
I did find on the MacOS accessibility email list that this setting was introduced in 10.10. Also, in this Chapter 2 of this guide Group navigation settings may also affect focus. There are a number of VO cursor finding shortcuts listed in Chapter 2 of the guide. They might be useful to explore, so copying here for future reference. I am closing this issue, as it seems to be caused by a VoiceOver user setting. |
Thanks so much @terracoda. The QA team made a document to track AT quriks that we are aware of, I will add this issue to it. |
Here is the document for reference. https://docs.google.com/document/d/1518zv6F0odExFsodShZxwTmWNQk3civuNwtQUR-rEBs/edit |
@jessegreenberg, thanks, and great idea from QA Team about the document. |
Mentioned in #102, and moving to its own issue:
I noticed that keyboard focus is lost, "moves to Sim Resources Region" when I use the ESC key to close the Keyboard Help dialog. Focus is lost only if visual focus is not on the close button, i.e., when system focus is not visible and the virtual cursor is somewhere in the dialog's content. If I hit ESC with focus on the close button, focus is not lost. If I close the dialog with the close button, focus is not lost.
Note this issue might have been resolved in RIAW RC Testing?
Issue not present with keyboard alone as visual focus never moves off Close button.
Platform:
MacBook Pro, High Sierra 10.13.4
Safari 11.1
Voice Over
Tested from Master June 12 at 12 noon NT/ 8:30 am MT.
The text was updated successfully, but these errors were encountered: