Skip to content

Commit 235d1f7

Browse files
authored
Merge pull request #17904 from josephsl/winUIGoodUIAWindowClassNames
Closes #17771 Partly closes #17407 Summary of the issue: Mouse and touch interaction does not work in WinUI 3 apps such as Microsoft Copilot and parts of Windows 11 File Explorer interface. Description of user facing changes Mouse and touch interaction can be used in WinUI 3 apps. Description of development approach Added Microsoft.UI.Content.DesktopChildSiteBridge to good UIA window class names. An alternative approach is done through Mouse Enhancement add-on where NVDA will confess that WinUI 3 app elements are good UIA windows when the mentioned top-level pane window class is present.
1 parent 537d8f2 commit 235d1f7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

source/UIAHandler/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# A part of NonVisual Desktop Access (NVDA)
2-
# Copyright (C) 2008-2023 NV Access Limited, Joseph Lee, Babbage B.V., Leonard de Ruijter, Bill Dengler
2+
# Copyright (C) 2008-2025 NV Access Limited, Joseph Lee, Babbage B.V., Leonard de Ruijter, Bill Dengler
33
# This file is covered by the GNU General Public License.
44
# See the file COPYING for more details.
55

@@ -88,6 +88,8 @@
8888
goodUIAWindowClassNames = (
8989
# A WDAG (Windows Defender Application Guard) Window is always native UIA, even if it doesn't report as such.
9090
"RAIL_WINDOW",
91+
# #17407, #17771: WinUI 3 top-level pane window class name.
92+
"Microsoft.UI.Content.DesktopChildSiteBridge",
9193
)
9294

9395
badUIAWindowClassNames = (

user_docs/en/changes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
### Bug Fixes
1212

13+
* In WinUI 3 apps including Microsoft Copilot and parts of Windows 11 File Explorer, NVDA will no longer fail to announce controls when using mouse and touch interaction. (#17407, #17771, @josephsl)
14+
1315
### Changes for Developers
1416

1517
Please refer to [the developer guide](https://www.nvaccess.org/files/nvda/documentation/developerGuide.html#API) for information on NVDA's API deprecation and removal process.

0 commit comments

Comments
 (0)