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
JooYoung Seo (@jooyoungseo) thanks a lot for opening this issue and for the PR.
However I am not sure if this is the ideal experience. I worry that it might result in Screen Reader reading too much, due to inline completions popping up all the time.
fyi Henning Dieterichs (@hediet) since we should think about inline completion accessibility improvements.
Isidor Nikolic (@isidorn) -- I understand your concern. However, adding aria-live to div.monaco-tokenized-source only reads new suggested token instead of the whole tooltip content. This means screen reader users do not necessarily hear redundant and verbose tooltip instructions and button names all the time. Without this feature, using inline suggestion is quite tedious for screen reader users. Because you need to manually press Ctrl+K, Ctrl+I each every time to identify the new content in tooltip.
As far as I tested, this gave me a more seamless and accessible experience when using inline suggestions. However, I understand that I cannot represent other screen reader users.
As a fair compromise, I suggest adding an option to VSCode settings to adjust the aria-live level between "on" and "off" so that users can customize the inline suggestion announcement level per their preference.
I explored reading the hint automatically using aria-live assertive. It was very disruptive because would suggest something with every keystroke. I also tried debouncing and the experience still was not great. You can try my branch merogge/ariaAlert to see what you think.
Megan Rogge (@meganrogge) -- I have just tested your branch and this is exactly what I intended and proposed. You may find aria-live very disruptive; however, this is what sighted people see visually and it is the matter of getting used to. Advanced screen reader users have very sophisticated techniques. For example, screen readers have a typing echo setting to choose whether you will hear the typing feedback based on character/word/none/both. I would turn off the typing echo so that I can only hear the suggestion live event while typing. You can simply keep typing if you want to ignore what's suggested and you can hit tab/enter key to accept the suggestion. Some advanced users, including myself, would find this feature useful and I believe this can improve their productivity. That's why I am suggesting this feature as a user configuration. I would definitely turn this on because the auto-suggestion and copilot hint is immediately read aloud which saves me a lot of time!
Activity
isidorn commentedon Nov 28, 2022
JooYoung Seo (@jooyoungseo) thanks a lot for opening this issue and for the PR.
However I am not sure if this is the ideal experience. I worry that it might result in Screen Reader reading too much, due to inline completions popping up all the time.
fyi Henning Dieterichs (@hediet) since we should think about inline completion accessibility improvements.
jooyoungseo commentedon Nov 28, 2022
Isidor Nikolic (@isidorn) -- I understand your concern. However, adding aria-live to
div.monaco-tokenized-sourceonly reads new suggested token instead of the whole tooltip content. This means screen reader users do not necessarily hear redundant and verbose tooltip instructions and button names all the time. Without this feature, using inline suggestion is quite tedious for screen reader users. Because you need to manually pressCtrl+K, Ctrl+Ieach every time to identify the new content in tooltip.As far as I tested, this gave me a more seamless and accessible experience when using inline suggestions. However, I understand that I cannot represent other screen reader users.
As a fair compromise, I suggest adding an option to VSCode settings to adjust the
aria-livelevel between "on" and "off" so that users can customize the inline suggestion announcement level per their preference.meganrogge commentedon Nov 28, 2022
I do not have copilot. Henning Dieterichs (@hediet) could you pls try out the PR with a screen reader?
jooyoungseo commentedon Dec 2, 2022
I will close my PR because I receive too many GH action messages. However, this issue still needs attention and suggest keeping it open.
hediet commentedon Dec 2, 2022
The idea was to use audio cues to indicate that inline suggestions are available.
Then, Ctrl+K, Ctrl+I can be pressed to read the suggestion.
The problem is that inline suggestions might be there 50% of the time you type something.
meganrogge commentedon Dec 2, 2022
I think it makes sense to let the user decide if the potential disruption is worth it and disable this by default.
meganrogge commentedon Feb 15, 2023
I explored reading the hint automatically using aria-live assertive. It was very disruptive because would suggest something with every keystroke. I also tried debouncing and the experience still was not great. You can try my branch merogge/ariaAlert to see what you think.
Suggestion from JooYoung Seo (@jooyoungseo) :
We can consider replacing the “Suggest List box” message with a specific audio cue like an inline hint.
jooyoungseo commentedon Feb 15, 2023
Megan Rogge (@meganrogge) -- I have just tested your branch and this is exactly what I intended and proposed. You may find
aria-livevery disruptive; however, this is what sighted people see visually and it is the matter of getting used to. Advanced screen reader users have very sophisticated techniques. For example, screen readers have a typing echo setting to choose whether you will hear the typing feedback based on character/word/none/both. I would turn off the typing echo so that I can only hear the suggestion live event while typing. You can simply keep typing if you want to ignore what's suggested and you can hit tab/enter key to accept the suggestion. Some advanced users, including myself, would find this feature useful and I believe this can improve their productivity. That's why I am suggesting this feature as a user configuration. I would definitely turn this on because the auto-suggestion and copilot hint is immediately read aloud which saves me a lot of time!meganrogge commentedon Feb 15, 2023
Great, thanks for testing. I think it makes a lot of sense to have a setting which enables this.
3 remaining items
meganrogge commentedon Mar 1, 2023
Going to investigate adding a setting for this and not having a dialogue box open up.
alertdoes not work on macOS in any of the contexts for me, but I'm going to test on Windowsmeganrogge commentedon Apr 21, 2023
I have reached out to an apple contact about VoiceOver. This is fixed on Windows though
meganrogge commentedon May 26, 2023
This now works on all platforms. I had an issue with my VoiceOver configuration