-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Document focus suggest details with ctrl+alt+space #190096
Conversation
@meganrogge @jrieken thanks in advance for taking a look. |
Thanks very much for working on this. I will test it tomorrow. Have you tried out the new Example: With screen reader mode on, trigger a hover and focus it. Use |
Hi @meganrogge it took me some time to understand the feature, but once I did, it was easy to recognize the sound queues had associated hover information (I like the sound design also), and it seems like an easy way to reach this information. Navigating information through this dialog is as easy as navigating code, so I think it could improve usage. Our usage is primarily via Monaco - our users may not even realize that the underlying editor is vscode and so when they encounter features like suggest, we want them to be intuitive and screen reader as well as keyboard-visual friendly. One issue I just noticed is that Monaco above v0.40 does not show the accessibility help dialog on alt + F1. This is impacting us, and is probably a somewhat serious issue for you. I'll file a monaco bug if there isn't one already. |
|
Is there any progress here? |
@meganrogge This is not about inline suggest but about normal completions which do trigger via |
…manually * when toggling details to focus them there can be a timing issues because details are delayed via RAF, so we need to pass along the focus-request
@jjaeggli Thanks for this contribution and thanks for being so patient with me. I have pushed another change on top (a simplication and wrestling some timing issus) and this is now ready to land. |
That was the part that was senstive to timing because details show via RAF and therefore focus cannot be set immediately but only once the details have been rendered |
This change allows the current ctrl + alt + space shortcut perform the following action:
This changes the behavior in the following way:
This makes the following additional changes:
A followup to this behavior to make the suggest details widget more accessible would be to upgrade it to a modal dialog when ctrl+alt+space is pressed, allowing visual keyboard users to tab-focus to links within the markdown documentation