-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Simple editor widgets not accessible on Linux (debug console, scm, extensions input) #88893
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
Comments
clarification: this problem does not happen on code editors and similar. It happens only on things such as these, even though accessibility is turned on explicitly. |
confirmed. this is actually the case, as vscode fails to detect a screenreader (for obvious reasons as even chromium doesn't yet activate accessibility on linux by default). So if I want to do anything interesting I in fact have to set this setting to on. And the single line editors like search are not accessible, but code editing works well. The versions of vscode that support this are these that have electron 7.1.x, and we are all using insider builds, so this is up to date info. I should comment on the linked issue, btw |
In the file ~/.config/Code\ -\ Insiders/User/settings.json I have the following content: { "editor.accessibilitySupport": "on", "workbench.startupEditor": "newUntitledFile", "workbench.commandPalette.history": 48, "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue" } When the focus is on the field where the message is announced by the orca I can type text without problems. The problem is that I can't use the arrows to revise the text, which makes it partly difficult to use. The interesting thing is that this does not happen for example in search, ctrl + shift + f, quick picker ctrl + shift + p / ctrl + p and etc. |
The reason for that is that ctrl + p, ctrl + shift + F use an input box, not a For example can you reproduce the same issues just using chrome and this fiddle? https://jsfiddle.net/ab0u5sxr/ |
well, the text areas report themselves as being inaccessible, except code editor, so not sure if this is really a chrome bug. Anyway I myself don't yet use accessible chrome here and can't test. |
Please excuse my ignorance, but what kind of field ctrl + shift + x uses? I ask because one of the points where the problem appears is when I press this key combination. When I tried to test using chromium and the fiddle suggested, I got no feedback from orca. |
ctrl + shift + x opens the extensions view input which uses our Editor. Which deep down uses the native |
Hitting this as well. Was the source control commit message editor recently changed in an insiders build? Worked well last week but failed after an update. Kind of annoying since things like search failing to provide accessibility are one thing, but I'd like to spell/grammar-check commit messages and now can't. :( Thanks. |
also hit that in the debug console/repl :) that is also quite critical as you'd rather want to be able to read your expressions before pressing enter. And yes, commit messages worked for me before, so if they would be broken after an update it would be a regression. Unless you lost the accessibility setting. Are you sure normal code editor still works, or it regressed? |
Normal code editor works nicely still. I'm trying to get
code-insider-1578639570.tar.gz which I think worked.
|
Found the 2020-01-10 build in a backup. There indeed seems to have been a regression in the git commit editor's accessibility since then. Or, at least, it was reclassified into whatever widget class seems to be used for what I assume are single-line, in accessible fields. The code editor still works nicely. I'll stick with this older version for now, and hope the commit editor change doesn't make it into a release. |
Yes we have changed the scm input box to use the editor and not the native input box. Also can you introduce yourselfs, I see you are filling accessibility issues starting from this week @ndarilek @webczat @jvesouza Here's about me: My name is Isidor Nikolic I am a developer working on VS Code for 8 years, I work on debug, explorer, ux, accessibility. I primarly use Mac, but also use Win and LInux. Cheers |
yes, setting accessibility to on explicitly does not make it work. only actual code editors work. |
Same here. Code editor works great, better than I expected it would, in
fact. Single-line editors, and now the SCM commit message editor (which
I assume is *not* single-line) don't work even with accessibility enabled.
Lots of us are filing Linux-specific accessibility issues because the
Chrome team is finally working on Linux accessibility, and those changes
are finally trickling down to Electron. Unfortunately I don't think
we'll have screen reader detection quite yet, hence the need to enable
accessibility manually. But Alt-F1 definitely doesn't do anything for
me, and even so, I'm not sure if it'd do anything above and beyond what
I already have.
To be clear, how many accessible editing widgets are there? The code
editor, and whatever is used for most single-line inputs? It's
interesting to me that one would work and another would completely fail.
Thanks.
|
Well I do not know how Orca works and what is specific about it. Can you be more precise how the scm commit box is not accessible? Is nothing read out? Or you get the "Press alt + F1.." message? @joaomoreno @alexdima here's the gist: simple code editor widgets like the scm box, debug console input are not accessibile on linux. Regular Editor works. Is there something special about them that would make the Orca code editor not be able to read content. |
I get the message about alt+f1. :) |
Ok, so let's take the debug console for example. If you get the alt+f1 message that means that the simple editor widget thinks that the accessibility support is disabled, which you gave explicitly enabled. The issue seems to be that the @sbatten shouldn't the What I am seeing is the following Looks like a serious issue and it would be great if we fix this. Assigning to January. |
@isidorn I remember when making the accessibility service since it was really made to aggregate some of the logic spread around (and give a home to the reg key reading on windows), that some references used the configuration service to override and some did not and I kept it that way to avoid breaking someone. This meant that the function represented whether a not a screen reader was running and if the browser was giving us that flag. The references that do override the screen reader value with the configuration settings value do so like this: vscode/src/vs/workbench/contrib/search/browser/searchView.ts Lines 416 to 418 in 5a1b063
|
I tried to access the fiddle https://jsfiddle.net/ab0u5sxr/ using chromium and firefox and got the following:
I asked Joanmarie Diggs, who keeps the orca, to get tested to see if she would find any problems.
By the way, there is an orca mailing list: |
Here's about me: My name is José Vilmar I currently develop in java using linux as the basic OS and also started to develop using the dotnet core. The IDE I use on linux is eclipse but in my opinion the accessibility of eclipse on linux is declining. Besides, I didn't find a good support for dotnet core in eclipse. |
@sbatten ok thanks for the explanation. I plan to update the accessiblityService that it always contains the true and than everybody should just use it. Everything else can cause errors and issues like this one imho. Hope that makes sense. @jvesouza nice to meet you. We found the issue, I will try to fix it and will keep you posted on the state here. |
Amazing! Thanks. Been having a great time using VSCode this past week.
Has a few minor issues under Orca, but certainly nothing near the level
I expected when I got started.
|
yeah, the accessibility level is surprising, even more so when considering it was never officially supported on linux. All or at least most other issues are annoyances. |
I have pushed the fix to the Simple editor widgets via 66d2137 So the git commit box the debug console input and all the small editors should be accessibile. |
Cool, thanks! I'd rather not lose access to the commit message box, and
don't really want to re-downgrade. When are insiders builds usually
made? And will Monday's be between Sunday-Monday or Monday-Tuesday?
Thanks again.
|
I will try to generate VSCode this weekend to test the fix.
As soon as I can test it, if I can, I'll post the results on that ticket.
I would like to thank you for your efforts in solving this problem. It
is very good when the developers of a tool put in efforts to make it
accessible.
…On 1/24/20 2:27 PM, Isidor Nikolic wrote:
I have pushed the fix to the Simple editor widgets via 66d2137
<66d2137>
So the git commit box the debug console input and all the small
editors should be accessibile.
You can try it out in vscode insiders from Monday.
Also feel free to file any other issues / annoyances that you
encounter and feel free to ping me @isidorn
<https://github.com/isidorn> on the issues. Thanks a lot!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#88893?email_source=notifications&email_token=AAPRNEW3FIPBFOPJKR247ILQ7MQIZA5CNFSM4KIRVXA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ3QBBI#issuecomment-578224261>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPRNEULTTXL3WW7P5N5FCTQ7MQIZANCNFSM4KIRVXAQ>.
|
Monitoring the VSCode repository I found the following commit: commit 5d49873 I'm not quite sure, but I believe that this would bring accessibility problems for those using Linux, wouldn't it? |
Yup, good catch. Sticking with my January 10 build after all.
|
This is unfortunate timing. Since my collegue @bpasero reverted the Electron version before we do our stable release since we still have some regressions with it.
Insiders will again have Electron 7 in 10 days and then you can use it again. Also feel free to create other issues on GitHub and feel free to ping me @isidorn Thank you |
hmmm does not seem to work here. can anyone confirm? |
sorry, now it does. not quite sure what was the problem. |
@webczat thanks for trying it out. Adding verified label. |
I am testing the accessibility of vscode in linux using the orca screen reader and the following version of VSCode:
In some situations when I need to edit some text, I get the following message:
Despite this message it is possible to type although it is not possible to use the arrows to review what was typed.
Steps to reproduce:
Result:
As soon as the key sequence is pressed, the focus is moved to a text field and the message mentioned above is read by the orca.
Result:
Orca announces the number of extensions found.
Result:
Orca is silent.
Additional information:
This problem does not happen when I access the command palette using ctrl + shift + p
The text was updated successfully, but these errors were encountered: