-
Notifications
You must be signed in to change notification settings - Fork 38k
Description
Issue Type: Bug
CC: @isidorn
Hi,
Some parts of the workflow for searching within a file with ctrl+f aren't that accessible. As a demonstration, have a blank editor with the following contents:
hello world
goodbye world
From the top of the file, when pressing ctrl+f and typing world, visually the first occurance is highlighted, but no screen reader feedback is provided at all. So my instinct is to press enter, which of course brings me to the second match instead.
Next when on the second line, perform the same search. By default, it wraps you back to the beginning of the file if no more matches are found, which is doubly confusing due to the lack of feedback.
I expect to hear something similar to how its announced in the results view in project-wide search, but less verbose. E.g, "1/2: Found 'world' at 9:20 with text: "
Similar context should also be provided when moving using f3 and shift+f3, but haven't figured out what the best messages would be.
On a related note, I'm also pondering whether disabling such wrap-around by default if a screen reader is detected would be better. It is obvious that this has happened visually, but unless enough context is provided, it can be confusing.
VS Code version: Code - Insiders 1.32.0-insider (804373a, 2019-03-01T18:22:35.336Z)
OS version: Windows_NT x64 10.0.17134
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992) |
| GPU Status | 2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
| Memory (System) | 15.86GB (8.89GB free) |
| Process Argv | |
| Screen Reader | yes |
| VM | 36% |
Extensions (7)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-markdownlint | Dav | 0.25.0 |
| vscode-eslint | dba | 1.8.0 |
| python | ms- | 2019.2.5433 |
| cpptools | ms- | 0.21.0 |
| Go | ms- | 0.9.2 |
| rust | rus | 0.5.3 |
| markdown-preview-enhanced | shd | 0.3.11 |