-
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
Inline proposals needs accessibility love #125294
Comments
I'm moving this to next milestone. Accessibility is important to me, but the actions are already focusable if "Tab Moves Focus" and "Screen Reader Optimized" are enabled. However, all those actions already have their own shortcut (which can be triggered even if the hover is not shown). So once you tab through them and the shortcut is read, there is already a more convenient way to access those actions than using the arrow keys. What do you think, @isidorn? |
All good points. And of course doing this in the next milestone is perfectly fine. I think users will have to learn those shortcuts and when they do they will no longer need to focus on the inline proposals hover. So from my above I think that 1. would still be great to have! So bottom line while I agree with you, I think your points do not contradict the original suggestion. |
For 1., there is #130562 as a general feature request for all hovers. Regarding 2, I think the focus should not be restored to the element that had focus the last time - otherwise, screenreaders might not catch up relevant text at the beginning of the hover. For 3, see #130565. |
Feedback from @isidorn:
Here are some suggestion on how to improve the accessibility of the inline propsals:
left
andright
keybindings would move focus inside the hover on the actions. So that keyboard users can easily trigger the hover and useleft
andright
to move the suggestion.suggestion: CONTENT
. This is not the best experience but I think might be a good start. We do a similar things for parameter hintsOnce we polish this a bit and there is a public way to try this out we should definitely share it with our a11y community to get better feedback.
The text was updated successfully, but these errors were encountered: