-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Adding accessibility help for verbose hover #212783
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this. I didn't test this, but it LGTM. I suggest adding the +/-
actions to the accessible view implementation when they're available.
082b42b
to
fa6bc6c
Compare
Hi @meganrogge thank you for the review. I have added the usage of I was testing the feature and I noticed that the when I would click outside of the accessible view, and make it disappear, the hover would not appear anymore thereafter. I dug around and found that this is because the accessible view does not call the I changed the code a bit there to also call I am wondering if there is a specific reason we only call |
@aiday-mar I think your change sounds good. Thanks for the info, I will test today to make sure everything still works as expected. |
@aiday-mar, I just realized that in this PR, you've replaced the See what I mean in insider's compared to oss:
We should also provide a custom help dialog for the hover's accessible view. That can be accomplished using this: vscode/src/vs/platform/accessibility/browser/accessibleView.ts Lines 55 to 59 in 1b60028
To see an example:
|
This reverts commit 1f450dd.
I am working on the fix |
…ngs"" This reverts commit 12f0cf6.
Summary of my changes:
|
I think we additionally want an accessibility help dialog when the hover (vs the hover's accessible view) is focused. I will also add that. |
I have added
|
Hi @Meggan thanks a lot for looking into the PR and making the changes! I tested the changes with an extension which provides verbose markdown hovers, and have made some polishing changes on top. In particular I made the actions in the accessible view enabled when the actions can be taken. Screen.Recording.2024-05-24.at.11.35.04.mov |
Hi @meganrogge I am thinking of merging this PR this iteration. Would you say this PR is ready for merging? |
Adding accessibility help for verbose hover