-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Description
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:
- There's a confusing line of text at the top of the list that has some line numbers, then two numbers indicating something? Basically, I have no idea what the top item in the list means.
- The list includes items starting with a plus or a dash, which makes sense, but it also has a bunch of extra lines that don't appear to be different. Are these for context?
- The list items all show the line number first. If I am comparing files I know well, I don't want to hear the line number constantly. It should be at the end, so I can hear the changed line itself first.
- Once I find a change, I can't do anything with it. How can I revert the change so my file matches what the list item is showing? Pressing enter only moves me to the line, and there is no context menu for any list item.
- Sometimes, I am taken out of NVDA's mode that works well with web UIs like VS Code. I am jumped to a list of diffs that is different from the list I've been describing so far. Yesterday, I had the list I've been talking about; today, when I went to confirm some things, I wound up in this new list.
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
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (4 x 3093) |
GPU Status | 2d_canvas: enabled 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 |
Load (avg) | undefined |
Memory (System) | 15.88GB (9.53GB free) |
Process Argv | |
Screen Reader | yes |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: git.domain.com |
OS | Linux x64 3.16.0-4-amd64 |
CPUs | Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (2 x 2294) |
Memory (System) | 15.71GB (1.22GB free) |
VM | 100% |
Extensions (6)
Extension | Author (truncated) | Version |
---|---|---|
remote-containers | ms- | 0.94.0 |
remote-ssh | ms- | 0.48.0 |
remote-ssh-edit | ms- | 0.48.0 |
remote-wsl | ms- | 0.41.7 |
vscode-remote-extensionpack | ms- | 0.19.0 |
php-debug | fel | 1.13.0 |