-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Add symbol provider for terminal accessible buffer #174079
Comments
The recently introduced heading semantics in the accessible terminal buffer does not seem to live up to our expectation because the screen readers' vague support for "document" role landmark. In theory, "document" role would work like a web page and will auto-activate screen readers' virtual cursor (AKA, browse mode). Tagging each command with heading semantics, thus, would make sense. Unfortunately, most major screen readers do not seem to properly support "document" role, which introduces some side effects against heading semantics defined within the document role. For example, NVDA seems to behave like a document mode instead of browse mode against "document" role and it does not properly recognize heading semantics in the terminal buffer unless you explicitly switch to browse mode. JAWS is even worse... I did not have a chance to file a new issue regarding this, but I will demonstrate this when we meet soon. |
Okay thank you for that insight. I recall you said the output container is very accessible. I will see what we do there. |
explored using because that's what we do for the output view. works with VoiceOver, but not with NVDA. |
@meganrogge -- The ideal model that I refered to previously was Ctrl+Shift+U (Tasks Output) and it has a textbox role. |
@Tyriar and I had a look at the output together and noticed that it is a monaco editor. We will see what the overhead is of inserting that in the terminal |
It looks like the monaco editor will work. We can use this issue to track also the possibility of adding a language/symbol provider so that landmarks such as commands and output can be navigated to separately. We could also use the editor quick fixes to present our terminal quick fixes in an accessible manner. |
@meganrogge Regarding your original questions on symbol provider, I would recommend making the integrated shell outcome as similar as possible to the non-integrated shell results by default. Users may feel confused if they see different styles between enabled and disabled integrated shells. It would be even more ideal if you could add some settings for users to customize the buffer output by allowing them to toggle on and off for "cwd", "prompt", "command", "non-exit code." My personal preference would look like the following: {
"display.cwd": false,
"display.prompt": false,
"display.command": treu,
"display.non-exit-code": false
} |
Great idea 👍🏼 |
I investigated and we'd need to use an |
Right now, we present only the command, the exit code if non-zero, and the output.
Some questions:
...exited with code #
useful?cwd
cc @jooyoungseo for any thoughts
The text was updated successfully, but these errors were encountered: