Skip to content

[Accessibility] Reading is no longer possible when hovering the mouse over items in the tab and explorer areas of the editor. #224704

Open

Description

@ryusei-48

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

Activity

  1. changed the title [-]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.[/+] on Aug 3, 2024
  2. meganrogge commented on Aug 5, 2024

    @meganrogge
    Collaborator

    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

  3. added
    info-needed
    on Aug 5, 2024
  4. rperez030 commented on Aug 6, 2024

    @rperez030
    Contributor

    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.

  5. added
    accessibility
    accessibility-sla
    and removed
    info-needed
    on Aug 6, 2024
  6. ryusei-48 commented on Aug 7, 2024

    @ryusei-48
    Author

    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.

  7. ryusei-48 commented on Aug 7, 2024

    @ryusei-48
    Author

    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.

  8. meganrogge commented on Aug 7, 2024

    @meganrogge
    Collaborator

    Robo (@deepak1556) know of any change that could've caused this?

  9. deepak1556 commented on Aug 7, 2024

    @deepak1556
    Collaborator

    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-bisect that 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:

    • install node.js (if not yet done)
    • npx --yes @vscode/vscode-bisect@latest
    • follow the instructions until you found the offending build (its fine to leave the commit empty)
    • report back the commit range in this issue

    Thanks!

  10. 9 remaining items

  11. added
    electron
    regression
    and removed on Aug 7, 2024
  12. hwf1324 commented on Aug 9, 2024

    @hwf1324
  13. added
    bug
    on Aug 9, 2024
  14. hwf1324 commented on Sep 9, 2024

    @hwf1324
  15. added
    upstream-issue-linked
    on Dec 17, 2024
  16. removed
    accessibility-sla
    on Nov 6, 2025
  17. ryusei-48 commented on Apr 9, 2026

    @ryusei-48
    Author

    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.

    Version: 1.115.0 (user setup)
    Commit: 41dd792b5e652393e7787322889ed5fdc58bd75b
    Date: 2026-04-07T22:04:57Z
    Electron: 39.8.5
    ElectronBuildId: 13703022
    Chromium: 142.0.7444.265
    Node.js: 22.22.1
    V8: 14.2.231.22-electron.0
    OS: Windows_NT x64 10.0.26200
    
  18. hwf1324 commented on Apr 9, 2026

    @hwf1324

    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.

    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.

  19. ryusei-48 commented on Apr 9, 2026

    @ryusei-48
    Author

    WangFeng Huang (@hwf1324)

    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.

    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.

  20. hwf1324 commented on Apr 9, 2026

    @hwf1324

    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.

  21. ryusei-48 commented on Apr 9, 2026

    @ryusei-48
    Author

    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.

  22. canyonopm3026-create commented on Apr 9, 2026

    @canyonopm3026-create
  23. 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

accessibilitybugelectronregressionupstream-issue-linked

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions