Repository navigation
Description
Type: Bug
Description Since the recent VS Code update bumped the internal Chromium version to 142 (from 138), the "Mouse Tracking" feature in the NVDA screen reader has stopped working completely within the editor.
This is a known regression in Chromium starting from version 140. It affects all Chromium-based applications. According to the NVDA issue tracker, this bug has been identified and fixed in Chromium 144 (currently in Canary), but versions between 140 and 143 remain broken.
Impact This is a significant accessibility blocker. Users who rely on NVDA mouse tracking to explore the UI or read code by hovering are currently unable to use this feature, severely hampering navigation and productivity.
Steps to Reproduce
Launch NVDA (ensure mouse tracking is enabled in NVDA settings).
Open VS Code (running on Chromium 142).
Move the mouse cursor over the editor text, sidebar, or any UI element.
Actual Behavior: NVDA stays silent and does not read the element under the mouse.
Expected Behavior: NVDA should read the element under the mouse cursor.
Root Cause & Evidence This is not an NVDA bug, but a Chromium regression introduced in v140.
NVDA Issue Reference: nvaccess/nvda#18707 and nvaccess/nvda#18996
Chromium Status: The issue comments confirm: "This has been fixed in chrome canary (144)."
Proposed Solution / Request Given that Chromium 144 is not yet stable, we kindly request the VS Code team to consider:
Rolling back the internal Chromium/Electron version to a build based on Chromium 138 (or any pre-140 version) where this feature was stable.
Alternatively, applying a specific patch if possible until Chromium 144 becomes the stable base for Electron/VS Code.
Environment Information
NVDA Version: 2025.3.1
VS Code version: Code - Insiders 1.107.0-insider (7ba6cc6, 2025-11-17T05:05:47.761Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 6.8.12-8-pve
Activity
meganrogge commentedon Nov 19, 2025
Robo (@deepak1556) what can we do here?
deepak1556 commentedon Nov 19, 2025
Thanks for sharing the upstream issue links, however I am not seeing a correlation to the affected versions.
Chromium issue https://issues.chromium.org/issues/440293932
CL fixing the issue https://chromium-review.googlesource.com/c/chromium/src/+/6973131, it landed first in
142.0.7425.0behind a feature flagkAccessibilityHitTestPointCopywhich is enabled by defaultOur current insiders is based on chromium
142.0.7444.162which contains the fixThe change that landed in 143 (canary at the time) was https://chromium-review.googlesource.com/c/chromium/src/+/6997416 which just removed the feature flag but that shouldn't matter as it was always enabled.
If you are referring to a different chromium issue, can you please provide a link to it and we can look into backporting the fix if its missing in our versions. Thanks!
lucascastrorp commentedon Nov 20, 2025
Robo (@deepak1556), thanks for the detailed explanation regarding the Chromium versions.
However, I can confirm that the issue persists on my end with the latest VS Code Insiders build.
I noticed that the Chromium commit regarding version 143 states: "This CL lands in 143, and we won't port it back to 141 and 142."
Since version 142 still relies on the feature flag
kAccessibilityHitTestPointCopy(and potentially the killswitch mechanism mentioning in the commit), is it possible that:Is there a command-line argument I can use to force enable
kAccessibilityHitTestPointCopylocally to verify if this is indeed a flag issue?lucascastrorp commentedon Nov 20, 2025
Update:
I went ahead and tested launching VS Code Insiders via the command line to force the feature flag as discussed:
code-insiders --enable-features=kAccessibilityHitTestPointCopyResult: The issue persists. NVDA mouse tracking remains non-functional even with the flag explicitly enabled.
This strongly suggests that the fix included in Chromium 142 is indeed being suppressed (possibly by the killswitch mentioned in the Chromium CL) or is not correctly propagating to this Electron build.
For reference, here is the comparison of my environments:
WORKING (Stable):
VS Code: 1.106.1
Electron: 37.7.0
Chromium: 138.0.7204.251
Mouse tracking works perfectly.
BROKEN (Insiders):
VS Code: 1.107.20251119008-insider
Electron: 39.2.0
Chromium: 142.0.7444.162
Mouse tracking fails completely, regardless of the feature flag.
deepak1556 commentedon Nov 20, 2025
Just checked, it is enabled by default.
Its the opposite, the feature flag when disabled is meant to suppress the fix.
The flag name passed in is not correct, the right value is
AccessibilityHitTestPointCopy.Looking closer at the linked issues, the CL was created to address mouse tracking of links which regressed when UIA feature got enabled by default in 141 https://chromium-review.googlesource.com/c/chromium/src/+/6818985
Just a quick check, what happens when you run with
code-insiders --disable-features="AccessibilityHitTestPointCopy,UiaProvider"I will do some testing on my end as well and report back here.
4 remaining items
lucascastrorp commentedon Nov 24, 2025
Robo (@deepak1556) Apologies, I realized I forgot to mention earlier that I was indeed using the "Mouse Enhancement" addon.
I have since disabled all addons to test clean, and I found that the behavior depends entirely on how NVDA interacts with the UIA provider.
My Findings:
In NVDA
Advanced Settings->Use UIA with Microsoft Edge and other Chromium based browsers:Comparison with Stable:
In VS Code Stable (Chromium 138), setting this to "Yes" does not enable mouse tracking natively (it still requires the addon).
Conclusion:
It looks like the UIA path is actually handling mouse tracking correctly in this build. The issue might be that NVDA is still prioritizing the legacy API by default, which is where the tracking seems to be failing.
Important Note:
While forcing "Yes" makes it work in VS Code, it is not a viable workaround for users because it causes regressions/issues in other Chromium-based applications (like Edge or Chrome).
Does this imply that VS Code needs to signal something to NVDA to prefer UIA, or is the legacy accessibility path (IA2) intended to still work alongside
UiaProvider?deepak1556 commentedon Nov 24, 2025
Yeah that would be because of this check https://github.com/nvaccess/nvda/blob/9fac0d8371406e7b3549ba7af36d59baab457be8/source/UIAHandler/__init__.py#L1256-L1265 which still requires explicit opt-in via the setting you have linked to use UIA path. We cannot override as we inherit the WindowClass from chromium.
For the legacy path, issue is tracked in electron/electron#42945 and #224704
UIAProvider path was flipped to be the default in chromium since https://chromium-review.googlesource.com/c/chromium/src/+/6818985, maybe nvda needs to revisit its default for newer versions of chromium browsers ?
I see the current state is mixed and leads to poor experience,
--disable-features="UiaProvider", the addon is needed to support mouse tracking for electron apps until [Bug]: NVDA screen reader no longer works since 30.0.0-beta.8 electron/electron#42945 is addressedUiaProviderenabled, nvda needs to be explicitly opted-in via the settingAny other combination is just error prone.
lucascastrorp commentedon Nov 25, 2025
Robo (@deepak1556) Thank you for the detailed technical analysis and for pinpointing the specific check in the NVDA codebase.
It is clear now that this is a transition issue where Chromium has moved forward with UIA as default, but NVDA's heuristics haven't caught up to opt-in automatically for this context.
I have opened an issue on the NVAccess repository referencing this discussion and the Chromium changes to request an update to their default handling for newer Chromium/Electron builds. nvaccess/nvda#19276
For now, I will use the command line flag --disable-features="UiaProvider" to maintain compatibility with the legacy addon until NVDA addresses this upstream.
deepak1556 commentedon Nov 25, 2025
Thank you for following up with the nvda team!
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