Skip to content

Accessibility Regression: NVDA mouse tracking broken due to Chromium 142 update (Upstream Issue) #277895

Open

Description

@lucascastrorp

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

  1. added
    important
    accessibility
    regression
    on Nov 19, 2025
  2. meganrogge commented on Nov 19, 2025

    @meganrogge
    Collaborator

    Robo (@deepak1556) what can we do here?

  3. deepak1556 commented on Nov 19, 2025

    @deepak1556
    Collaborator

    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.0 behind a feature flag kAccessibilityHitTestPointCopy which is enabled by default
    Our current insiders is based on chromium 142.0.7444.162 which contains the fix

    The 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!

  4. added
    info-needed
    bug
    upstream
    chromium
    on Nov 19, 2025
  5. lucascastrorp commented on Nov 20, 2025

    @lucascastrorp
    Author

    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:

    1. The flag is not actually enabled by default in the specific Electron build VS Code is using?
    2. The "killswitch" mentioned in the Chromium CL is currently active in 142, suppressing the fix?

    Is there a command-line argument I can use to force enable kAccessibilityHitTestPointCopy locally to verify if this is indeed a flag issue?

  6. lucascastrorp commented on Nov 20, 2025

    @lucascastrorp
    Author

    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=kAccessibilityHitTestPointCopy

    Result: 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.

  7. deepak1556 commented on Nov 20, 2025

    @deepak1556
    Collaborator

    The flag is not actually enabled by default in the specific Electron build VS Code is using?

    Just checked, it is enabled by default.

    The "killswitch" mentioned in the Chromium CL is currently active in 142, suppressing the fix?

    Its the opposite, the feature flag when disabled is meant to suppress the fix.

    I went ahead and tested launching VS Code Insiders via the command line to force the feature flag as discussed:

    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.

  8. 4 remaining items

  9. lucascastrorp commented on Nov 24, 2025

    @lucascastrorp
    Author

    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:

    • Set to "Yes" (Force UIA): VS Code Insiders (Chromium 142) reads the mouse object correctly without any addons.
    • Set to "Default" or "Only when necessary": VS Code Insiders stays silent.

    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?

  10. deepak1556 commented on Nov 24, 2025

    @deepak1556
    Collaborator

    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.

    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,

    1. With --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 addressed
    2. With UiaProvider enabled, nvda needs to be explicitly opted-in via the setting

    Any other combination is just error prone.

  11. removed
    important
    regression
    on Nov 24, 2025
  12. lucascastrorp commented on Nov 25, 2025

    @lucascastrorp
    Author

    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.

  13. deepak1556 commented on Nov 25, 2025

    @deepak1556
    Collaborator

    Thank you for following up with the nvda team!

  14. added
    upstream-issue-linked
    and removed
    chromium
    on Nov 25, 2025
  15. rafa11rodrigues commented on Sep 7, 2026

    @rafa11rodrigues

    I have isolated and confirmed the upstream root cause in Electron:

    1. It does not reproduce in Chrome or vscode.dev:
      Opening vscode.dev in Google Chrome works properly with JAWS and NVDA mouse hover.
    2. Minimal Reproduction Repository:
      https://github.com/rafa11rodrigues/electron-a11y-test
      • Branch main (Modern Electron): Fails.
      • Branch working/electron-29 (Electron 29.4.6): Works out of the box with the exact same code.
    3. Upstream Cause:
      Electron PR 1.19 breaks files.trimFinalNewlines #41256 modified the native window view hierarchy in Electron 30, placing an empty container pane above WebContentsView that intercepts Windows MSAA AccessibleObjectFromPoint hit tests.

    Tracked upstream in Electron: electron/electron#42945

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

accessibilitybugunder-discussionupstreamupstream-issue-linked

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions