You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WinUI: Mouse tracking fails in applications using Windows App SDK 1.6. #17407
It's strange that NVDA considers the external window and pane objects of these apps to be IAccessible, while internally they are normal UIA objects, perhaps this is the cause of the problem?
But I don't know what it's because of, and both the narrator and Accessibility Insights For Windows are able to get the internal controls with the mouse.
It's strange that NVDA considers the external window and pane objects of these apps to be IAccessible, while internally they are normal UIA objects, perhaps this is the cause of the problem?
But I don't know what it's because of, and both the narrator and Accessibility Insights For Windows are able to get the internal controls with the mouse.
I'm not sure if this is due to NVDA thinking that the NVDAObjects in the outer pane are IAccessible objects, thus interrupting NVDA from getting the correct UIA objects?
I'd like to try to get NVDA to think that these IAccessible objects are UIA objects and see if that solves the problem. But I'm not sure how to do that.
I'm the primary maintainer of Accessibility Insights for Windows. That app uses the UIA bridge found in Windows 1903 and later. NVDA opts out of this bridge, only using UIA where a native provider is available.
Hi Bill, thanks for this insight. Would it be possible for you to offer an NVDA PR to let it use UIA bridge in addition to letting it rely on native UIA elements? CC @michaelDCurran on his thoughts.
What needs to be done on this issue still? I see that github say this will be closed when commit 235d1f7 is merged into master, but I think this happened already a while ago.
cc: @josephsl
@msftedad can you please forward this to the development team? It is a quite broad issue which would make lots of applications more accessible once it is fixed by Microsoft, especially on the UI-XAML side.
See microsoft/microsoft-ui-xaml#10192
@josephsl, @codeofdusk By UIA bridge, you are refering to UIA's ability to use MSAA and window messages to fetch data when the window doesn't support UIA natively? If so, I don't think it should be used, at least not as a replacement for MSAA. Most events doesn't work with it, or at least, when I force NVDA to use UIA in places where it isn't natively supported, it is unable to fetch events like nameChange, stateChange, etc
Activity
hwf1324 commentedon Nov 16, 2024
Hi, CC: @josephsl , @michaelDCurran , Maybe you guys will have some thoughts on this issue.
It's strange that NVDA considers the external window and pane objects of these apps to be IAccessible, while internally they are normal UIA objects, perhaps this is the cause of the problem?
But I don't know what it's because of, and both the narrator and Accessibility Insights For Windows are able to get the internal controls with the mouse.
seanbudd commentedon Nov 19, 2024
Has this been reported to microsoft? Have you tested this with the latest release 1.6.3?
It seems like this SDK is new and under active development. Bugs should be reported to the authors primarily.
hwf1324 commentedon Nov 19, 2024
The issue has been reported to the Windows App SDK team, but there has been no response yet.
There are already official versions of some apps that have encountered this problem, such as PowerToys v0.86.0, UniGetUI, and others.
josephsl commentedon Nov 19, 2024
hwf1324 commentedon Dec 8, 2024
Hi,
This seems to only appear in the dashboard controls.
I created microsoft/PowerToys#36252.
Thanks!
hwf1324 commentedon Dec 16, 2024
CC: @codeofdusk Can you provide some suggestions?
I'm not sure if this is due to NVDA thinking that the NVDAObjects in the outer pane are IAccessible objects, thus interrupting NVDA from getting the correct UIA objects?
I'd like to try to get NVDA to think that these IAccessible objects are UIA objects and see if that solves the problem. But I'm not sure how to do that.
codeofdusk commentedon Dec 16, 2024
I'm the primary maintainer of Accessibility Insights for Windows. That app uses the UIA bridge found in Windows 1903 and later. NVDA opts out of this bridge, only using UIA where a native provider is available.
josephsl commentedon Dec 16, 2024
codeofdusk commentedon Dec 16, 2024
@josephsl I'm assuming you're looking for a toggle (in advanced settings) to allow use of the bridge to ease testing?
codeofdusk commentedon Dec 16, 2024
You can do this now with
nav.appModule.isGoodUIAWindow = lambda hwnd: Truein the Python consolehwf1324 commentedon Dec 16, 2024
This is great! That does get mouse tracking back to work.
josephsl commentedon Dec 16, 2024
hwf1324 commentedon Dec 16, 2024
This also seems to work for fixing mouse tracking in Notepad or Windows Terminal.
josephsl commentedon Mar 12, 2025
Hi,
More details provided in #17771, but it won't hurt to fix both of these in an upcoming PR.
Thanks.
UIA handler: add WinUI 3 top-level window class name (Microsoft.UI.Co…
Changelog: add WinUI 3 mouse/touc interaction fix in NVDA 2025.2/bug …
Merge pull request nvaccess#17904 from josephsl/winUIGoodUIAWindowCla…
Adriani90 commentedon Jun 6, 2025
What needs to be done on this issue still? I see that github say this will be closed when commit 235d1f7 is merged into master, but I think this happened already a while ago.
cc: @josephsl
Adriani90 commentedon Nov 28, 2025
@msftedad can you please forward this to the development team? It is a quite broad issue which would make lots of applications more accessible once it is fixed by Microsoft, especially on the UI-XAML side.
See microsoft/microsoft-ui-xaml#10192
Emil-18 commentedon Nov 29, 2025
@josephsl, @codeofdusk By UIA bridge, you are refering to UIA's ability to use MSAA and window messages to fetch data when the window doesn't support UIA natively? If so, I don't think it should be used, at least not as a replacement for MSAA. Most events doesn't work with it, or at least, when I force NVDA to use UIA in places where it isn't natively supported, it is unable to fetch events like nameChange, stateChange, etc