Repository navigation
Open
Labels
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectronregressionSomething that used to work is now brokenupstream-issue-linkedThis is an upstream issue that has been reported upstream
Description
Type: Bug
I use a screen reader. I often use the mouse cursor to read the text below it. However, when I upgraded to version 1.92, I encountered the title problem.
NVDA's mouse cursor reading function is used.
I hope it will be corrected.
バージョン: 1.92.0 (user setup)
コミット: b1c0a14
日付: 2024-07-31T23:26:45.634Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
VS Code version: Code 1.92.0 (b1c0a14, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 5900X 12-Core Processor (24 x 3700) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.91GB (16.77GB free) |
| Process Argv | --crash-reporter-id 819c0f14-6763-4f86-8b72-bd2914389149 |
| Screen Reader | yes |
| VM | 40% |
Extensions (54)
| Extension | Author (truncated) | Version |
|---|---|---|
| rust-bundle | 1Yi | 1.0.0 |
| Bookmarks | ale | 13.5.0 |
| vscode-sqlite | ale | 0.14.1 |
| vscode-django | bat | 1.15.0 |
| vscode-intelephense-client | bme | 1.10.4 |
| htmltagwrap | bra | 1.0.0 |
| vscode-tailwindcss | bra | 0.12.5 |
| vscode-copy-filename | bra | 0.1.1 |
| python-environment-manager | don | 1.2.4 |
| python-extension-pack | don | 1.7.0 |
| rust-syntax | dus | 0.6.1 |
| LogFileHighlighter | emi | 3.3.0 |
| auto-rename-tag | for | 0.1.10 |
| vscode-edit-csv | jan | 0.9.2 |
| vsc-python-indent | Kev | 1.18.0 |
| iconbuddy-vs-code-plugin | mdd | 0.0.3 |
| zenkaku | mos | 0.0.3 |
| vscode-language-pack-ja | MS- | 1.92.2024073109 |
| csharp | ms- | 2.39.29 |
| vscode-dotnet-runtime | ms- | 2.1.1 |
| debugpy | ms- | 2024.10.0 |
| python | ms- | 2024.12.1 |
| vscode-pylance | ms- | 2024.7.1 |
| remote-wsl | ms- | 0.88.2 |
| cmake-tools | ms- | 1.18.44 |
| cpptools | ms- | 1.21.5 |
| cpptools-extension-pack | ms- | 1.3.0 |
| copy-file-name | nem | 1.2.0 |
| innerhtml | nic | 0.2.0 |
| autodocstring | njp | 0.6.1 |
| indent-rainbow | ode | 8.3.1 |
| laravel-blade | one | 1.36.1 |
| laravel5-snippets | one | 1.18.0 |
| phind | phi | 0.25.3 |
| material-icon-theme | PKi | 5.8.0 |
| vscode-template-literal-editor | pli | 0.10.0 |
| vscode-css-peek | pra | 4.4.1 |
| prisma | Pri | 5.17.0 |
| inline-sql-syntax | quf | 2.16.0 |
| vscode-xml | red | 0.27.1 |
| rust-analyzer | rus | 0.3.2053 |
| crates | ser | 0.6.7 |
| trailing-spaces | sha | 0.4.1 |
| vscode-scss-formatter | sib | 3.0.0 |
| code-clip-ring | Sir | 0.4.0 |
| rust-pack | Swe | 0.3.38 |
| even-better-toml | tam | 0.19.2 |
| tauri-vscode | tau | 0.2.6 |
| cmake | twx | 0.0.17 |
| intellicode-api-usage-examples | Vis | 0.2.8 |
| vscodeintellicode | Vis | 1.3.1 |
| jinja | who | 0.0.8 |
| sysinfo-vscode | wra | 2.6.0 |
| scss-to-css | yut | 3.2.3 |
(2 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
nativerepl2:31104044
refactort:31108082
ccplc:31103425
pythonrstrctxt:31103193
wkspc-onlycs-c:31106320
wkspc-ranged-t:31107835
Metadata
Metadata
Labels
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectronregressionSomething that used to work is now brokenupstream-issue-linkedThis is an upstream issue that has been reported upstream
Activity
[-]Reading is no longer possible when hovering the mouse over items in the tab and explorer areas of the editor.[/-][+][Accessibility] Reading is no longer possible when hovering the mouse over items in the tab and explorer areas of the editor.[/+]meganrogge commentedon Aug 5, 2024
I am not familiar with using the mouse cursor functionality. Could you pls provide exact steps and what happened before vs what's happening now (or not)?
cc Roberto Perez (@rperez030)
Thank you
rperez030 commentedon Aug 6, 2024
NVDA has a feature to read the object under the cursor. That is also part of magnification tools such as zoomtext. I understand they rely on the UIA_BoundingRectangle property to determine the object under the mouse, which I've heard is not very reliable in browsers. I'm personally not very familiar with it since it is not something i would use myself.
ryusei-48 commentedon Aug 7, 2024
I use the Japanese version of NVDA, so I don't know exactly how to enable that feature in the English version, but it is probably almost the same.
To enable it, open the menu by pressing "NVDA Ki~ + N", select "Settings", and check "Mouse" under the category "Mouse" -> "Report text at mouse cursor position".
Then, in various applications and browsers, when you move the mouse over the text, it will be read out loud.
Because I have low vision, I work with the mouse cursor there and have the text read to me, while somehow perceiving the position of the text.
In one previous version of VS Code (1.92 or earlier), I was able to read out the text without any problem.
Is there some change in the structure of the DOM or is it a problem with the version of the Chrome Driver that is installed?
I have tried various DOM change operations on my end using VS Code's developer tools, but so far it seems to have no effect.
If that didn't help, you could listen for f-focus events on the JavaScript side, write the target text to the element with the "
aria-live" attribute, and notify the NVDA side of the text.ryusei-48 commentedon Aug 7, 2024
There is one sure cause for not reading them.
We need to be sure that this is the case, but we would like to share our findings.
If you want NVDA to read text under the mouse cursor, the object must be directly touching the mouse cursor.
For example, as an example of how to make it unreadable, if you place a transparent DOM over the object for some purpose (using position:absolute, etc.) or create an object using CSS pseudo-classes (before, after, etc.), NVDA will not read NVDA will not read it.
Also, I just downgraded the VS Code version to 1.91. I am reading the text under the mouse cursor with no problem.
meganrogge commentedon Aug 7, 2024
Robo (@deepak1556) know of any change that could've caused this?
deepak1556 commentedon Aug 7, 2024
Ryusei (@ryusei-48) given this seems like a possible regression, it would help to know which change caused it. We maintain a node.js based CLI tool
vscode-bisectthat automatically downloads and runs previous VS Code insiders and asks for each build if the issue reproduces. It takes up to 8 steps to find exactly the build that caused the regression.Steps:
npx --yes @vscode/vscode-bisect@latestThanks!
9 remaining items
hwf1324 commentedon Aug 9, 2024
Related: electron/electron#42945
hwf1324 commentedon Sep 9, 2024
I created an NVDA add-on to temporarily fix this.
https://github.com/hwf1324/mouseEnhancement
ryusei-48 commentedon Apr 9, 2026
Until recently, I was making do by using this add-on, but mouse tracking using Uia Provider is extremely resource-intensive, making VSCode operation noticeably sluggish.
https://github.com/hwf1324/mouseEnhancement
Recently, I checked to see if any improvements had been made, so I disabled the add-on and tried using standard IAccessible-based mouse tracking, but it still didn't seem to have been improved.
If any progress has been made, I'd appreciate hearing from you.
Below is the version information of VSCode currently in use.
hwf1324 commentedon Apr 9, 2026
Yes, I am also experiencing significant NVDA lag in VS Code, but I am not sure if it is triggered by UIA queries. I am not proficient in COM programming; perhaps there is a deadlock or a threading issue.
ryusei-48 commentedon Apr 9, 2026
WangFeng Huang (@hwf1324)
I see. Since I'm completely new to COM programming myself, I don't fully understand the details either. In my case, performance becomes significantly worse after using GitHub Copilot to perform extensive code modifications through AI—it remains sluggish permanently afterward. Whenever this happens, I have to run the VSCode command to reload the window.
hwf1324 commentedon Apr 9, 2026
My situation is slightly different; there is occasionally a slight delay when viewing the content of the hover window, which I can barely accept.
However, NVDA and the keyboard sometimes freeze, and no other exceptions are logged. During this time, keyboard input accumulates in a queue until NVDA resumes and responds to the previous keyboard events.
ryusei-48 commentedon Apr 9, 2026
WangFeng Huang (@hwf1324)
I see - considering this, it seems each situation has different characteristics.
My keyboard input response never completely freezes, but lag frequently occurs during input.
Both of these were completely absent when IAccessible was still functioning. Is Microsoft planning to eventually replace IAccessible entirely with Uia Providers? From the current perspective, this doesn't seem like a good plan.
canyonopm3026-create commentedon Apr 9, 2026
rafa11rodrigues commentedon Sep 7, 2026
I have isolated and confirmed the upstream root cause in Electron:
Opening
vscode.devin Google Chrome works properly with JAWS and NVDA mouse hover.https://github.com/rafa11rodrigues/electron-a11y-test
main(Modern Electron): Fails.working/electron-29(Electron 29.4.6): Works out of the box with the exact same code.Electron PR 1.19 breaks files.trimFinalNewlines #41256 modified the native window view hierarchy in Electron 30, placing an empty container pane above
WebContentsViewthat intercepts Windows MSAAAccessibleObjectFromPointhit tests.Tracked upstream in Electron: electron/electron#42945