You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Accessibility] Reconsider the UI design for {"editor.screenReaderAnnounceInlineSuggestion": true} #175105
I have tested copilot with {"editor.screenReaderAnnounceInlineSuggestion": true}. Thank you very much for your hard work. I have some suggestions.
Prompting the suggestion via dialog box popup may not be effective.
Because the dialog box needs to be either accepted or dismissed explicitly in order to keep typing, screen reader users will experience extra delays. I don't recommend using dialog widget for this feature.
There is a significant and noticable delay between hint audio cue and the actual suggestion content popup.
"OK" button is automatically read aloud instead of the actual suggestion when the dialog pops up.
My typing does not work after clicking "OK" button and coming back to original editor cursor position.
When I tested this feature, I found it disruptive and was warned against this approach by Isidor Nikolic (@isidorn) and Henning Dieterichs (@hediet) , but thought that you had said there are ways around the disruption for advanced screen reader users.
Prompting the suggestion via dialog box popup may not be effective.
Because the dialog box needs to be either accepted or dismissed explicitly in order to keep typing, screen reader users > will experience extra delays. I don't recommend using dialog widget for this feature.
AFAIK, this is how aria-live alerts work. I tried to add those properties to the element directly and they were not announced by the screen reader.
Re the other notes, I tested this on macOS with VoiceOver and did notice these happening. Which screen reader were you using?
We can keep thinking about this and iterating on a better approach.
Megan Rogge (@meganrogge) -- I think there has been a miscommunication between us regarding this implementation. Having a separate overlay dialog box can cause multiple side effects and accessibility barriers in this context. I am sorry, but I think I tested your PR for the general suggestions that does not pop up the overlay dialog box. However, I was not able to use my copilot or any extensions for the dev VSCode when I was testing your PR.
I used JAWS for this test, but regardless of whether it is read or not, the dialog approach needs to be seriously reconsidered. I can demonstrate this issue when we meet.
I tried to add those properties to the element directly and they were not announced by the screen reader.
I cannot quite understand why it did not work. We may want to debug this first.
Yes I agree that the current experience is very bad when that setting is enabled, so I'm reverting the PR. I see that we use aria-live: assertive in other places, so it should be possible.
Activity
meganrogge commentedon Feb 22, 2023
Thanks for trying this out and for the feedback.
When I tested this feature, I found it disruptive and was warned against this approach by Isidor Nikolic (@isidorn) and Henning Dieterichs (@hediet) , but thought that you had said there are ways around the disruption for advanced screen reader users.
AFAIK, this is how aria-live alerts work. I tried to add those properties to the element directly and they were not announced by the screen reader.
Re the other notes, I tested this on macOS with VoiceOver and did notice these happening. Which screen reader were you using?
We can keep thinking about this and iterating on a better approach.
jooyoungseo commentedon Feb 22, 2023
Megan Rogge (@meganrogge) -- I think there has been a miscommunication between us regarding this implementation. Having a separate overlay dialog box can cause multiple side effects and accessibility barriers in this context. I am sorry, but I think I tested your PR for the general suggestions that does not pop up the overlay dialog box. However, I was not able to use my copilot or any extensions for the dev VSCode when I was testing your PR.
I used JAWS for this test, but regardless of whether it is read or not, the dialog approach needs to be seriously reconsidered. I can demonstrate this issue when we meet.
I cannot quite understand why it did not work. We may want to debug this first.
meganrogge commentedon Feb 22, 2023
Yes I agree that the current experience is very bad when that setting is enabled, so I'm reverting the PR. I see that we use
aria-live: assertivein other places, so it should be possible.meganrogge commentedon Mar 16, 2023
I believe this is now fixed with #175823