-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Using the file compare tool with screen readers needs some attention #88695
Comments
@mehgcap thanks a lot for creating this issue and for providing this fantastic feedback.
This mielstone we have already planned, but I believe we might have time next milestone in February to try to address most of the issues you outlined. |
Thanks for the quick response.
|
We will have more details once we start workign on this in February. Thanks a lot! |
Unfortunetly did not have time to tackle this feature this milestone. Thus pushing to March as I plan to look into this then. |
Ok, starting to look into this, my todo list after processing the above
@mehgcap please let me know if there is more you have hit in the meantime, or if my action list does not cover something |
This sounds good for now. I'll open new issues once this work is complete, if anything new comes up. I think what you have will help a lot, though.
…--
Alex Hall
On Mar 19, 2020, at 08:06, Isidor Nikolic ***@***.***> wrote:
Ok, starting to look into this, my todo list after processing the above
Fix F7 and Shift + F7 doing the same thing
Provide more context in top of the line content. Not sure what context could be helpful here @alexdima <https://github.com/alexdima> let me know if you have ideas
Get line numbers to be read at the end not at the start
Introduce commands for reverting a change or staging a command (either context menu or just actions which the user can attach keybindings to)
@mehgcap <https://github.com/mehgcap> please let me know if there is more you have hit in the meantime, or if my action list does not cover something
fyi @jvesouza <https://github.com/jvesouza> and @ajborka <https://github.com/ajborka> for potential ideas
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#88695 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAILC224EKCZEY3TELMXFTTRIIDDTANCNFSM4KHGRSUQ>.
|
@isidorn The line at the top follows the format of patch files used e.g. when using
The output of |
@alexdima thanks for clarification, I also found this great comment from your past self which explains pretty much everything
So based on that comment I will just make the aria label a bit richer. |
Note that for now I pushed two small changes:
|
I assume I'll get this if I install the Insider build of VSCode? I'm currently running the public release.
…--
Alex Hall
On Mar 19, 2020, at 11:10, Isidor Nikolic ***@***.***> wrote:
Note that for now I pushed two small changes:
Make sure the Go to next / previosu diff work when focus is not in the editor (this would happen when command triggered via command palette)
Changed that we announce: + LINE_CONTENT modified line LINE_NUMBER. So we first announce a + or - simbol, than the line content and at the end the modified or the original line number. @mehgcap <https://github.com/mehgcap> you can try it out tomorrow and we can fine tune of course
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#88695 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAILC2ZEG7OZNFEDHSFDNJ3RIIYUTANCNFSM4KHGRSUQ>.
|
@isidorn , I am not very familiar with diffs. Can you provide a simple example to work through now and after your push goes live to insiders? |
@mehgcap yeah, tomorrow insiders should have my initial changes. Tomorrow I will hopefully tackle the rest, so the Insiders from Friday should be even better. |
@mehgcap I have enriched the aria label of the header to expalin a bit better what the encoding at the top means. @mehgcap Once I fix the navigation sometimes not navigating issue I plan to close this and it would be great if you can try this out from next week's insiders and provide feedback. |
I have pushed a change which fixed "Go to Next Difference" and "Go to Prev Difference" when invoked from the command palette. @alexdim fyi previosuly the diff review mode would automatically close when the origianl or the modified editor would get focused, making the whole interaction with Quick Open rather tedious (quick open refocuses the editor on close). Also this automatic hidding was probably causing confusion. Since I think it is easy to hide it via |
This is working great for me with Jaws 2020 and the latest insiders release! Thanks for doing this @isidorn. |
@cannona thanks for letting us know. Feel free to provide feedback and if there are other issues you are hitting. Thanks |
Issue Type: Bug
The problem is, basically, that screen readers don't know that comparisons are happening. (I'm using NVDA for my screen reader.) In side-by-side mode, only the editable file can be browsed; I've not found a way to jump between it and the file showing the differences. In inline mode, NVDA simply jumps over any line indicating a change, making the mode useless.
The f7 command is the only way to get meaningful information about differences (side bug: f7 and shift-f7 appear to do the exact same thing). My main problems with f7 are:
I'm not sure what a good, accessible diff editor might be like. I'd love a sound indicating an addition, removal, or change, with a keystroke to update the active file with the change from A or B, or insert both (in case of a line change) then let me edit them together. Sounds would be hard with a web UI, though, and don't do anything for braille users. Maybe a custom style that a screen reader could interpret? Also, commands to jump from change to change would be great (no, the ones in the Go menu don't do anything).
VS Code version: Code 1.41.1 (26076a4, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 3.16.0-4-amd64
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: unavailable_off
Extensions (6)
The text was updated successfully, but these errors were encountered: