-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Screen reader: orca stays in focus mode when using the show hover command #95032
Comments
Reading the conent of the hover works nicely on my macOS with Voice Over and also on Linux with Orca. VS Code passes focus to the hover and screen readers read the content nicely. @jvesouza do you get the conent of the hover read when you press |
I have pushed a commit that all VS Code hovers start using a role @jvesouza you could try it out with Tuesday's vscode insiders |
Yes, and I need to press the escape key to return to the editor. |
@jvesouza ok thanks for claryfing. My fix with the roles might potential fix this, but let's wait and see what @joanmarie says |
Orca's intent is to remain in focus mode when in a descendant of an element with Users can always toggle into browse mode manually when the authors have not provided adequate navigation. If you want this to happen automatically, perhaps it would make sense to move the single
Orca doesn't steal Escape, Return/Enter, or Tab even in browse mode. I've not yet tried your changes. But tooltips are typically not navigable or focusable. Mind you, if VSCode gave focus to a tooltip and that tooltip were not a descendant of an element with the If the tooltip is so large and/or detailed as to warrant navigation inside of it, I wonder if some other role might make sense. All of this said, let me update my build and give it a spin (in a little while). |
@joanmarie ok. Also note that we are having some discussions if VS Code should use the |
I did a test but it continues with the same behavior, it does not automatically switch to browse mode. |
@jvesouza thanks for trying it out. @joanmarie let me know if you have advice, thanks! |
What about.... 🤔 If, when the user used the keyboard commands in screen reader optimized mode to cause the popup to appear, VSCode gave the popped-up object focus? While I don't like the idea of being able to browse into and out of a tooltip, I would happily modify Orca to treat a focused tooltip as being browse mode container. When the user pressed Escape, VSCode would then return the user to the Thoughts? |
note that there is a shortcut ctrl+k ctrl+i and I believe it is intended to focus on tooltip? so in that case it leaves the editor and should be in browse mode shouldn't it? |
Looks like there is a focus event indeed. Lemme dig some more. |
Ok, I just updated my build. The thing which claims focus:
The third thing seems to be why Orca isn't switching to browse mode. I can update Orca to ignore that third thing if the @isidorn: The focus event I'm getting is coming from the |
@joanmarie sorry for the slow response, this somehow fell through my fingers. |
@isidorn No worries. I have to confess I'm sometimes losing track of which VSCode issues still require my input. So the change you made does make it possible for me to cause Orca to automatically switch to browse mode for the tooltip. Neat! I've not yet pushed that change to Orca master because I noticed something as a side effect: Right now, it is possible for the user to accidentally arrow out of the toolitp and then wind up in an unexpected place. So I'm still working on this. Related aside: Any chance we could have a label for this project like assigned-to-orca (or anything I could search on to quickly find what I still need to do for you/vscode)? |
Ok then closing this. It is label |
Works for me! Thanks!! |
@jvesouza @webczat. I believe I have this working in Orca master now. Some basic usage notes:
Please let me know if this works for you (again, once @isidorn's change wind up in an insiders build) and what you think. Thanks! |
For me it is working exactly as I expected. It was great, thanks. |
@jvesouza @joanmarie thanks a lot! |
Issue Type: Bug
Orca doesn't read anything.
This appears to be because the orca remains in focus mode. If we switch to browse mode by pressing orca_key + a, we can read the displayed text using the arrows.
CC @isidorn
VS Code version: Code - Insiders 1.45.0-insider (44c5185, 2020-04-10T18:15:17.029Z)
OS version: Linux x64 5.6.3-arch1-1
The text was updated successfully, but these errors were encountered: