Does UI Automation handle the Narrator "dismiss" gesture?

rebeccab 0 Reputation points
2025-03-11T02:20:34.5366667+00:00

I'm creating a UIA provider in C++ for Narrator and would like to support any dismiss actions (if they exist). In the Narrator guide it says "Triple-tap with two fingers - Dismiss context menus (imitating the Escape key)".

  1. Does this mean the gesture is exclusively for native context menus?

a. If so, is there a different Narrator command for a more general dismiss or is it just intended that handling the escape key-press captures that functionality?

b. If not, is there a specific control type or pattern that receives the gesture? (I've unsuccessfully tried Window and Menu Bar.)

In other words, is there a Narrator-action/UIA equivalent to macOS's VoiceOver-dismiss-action/accessibilityPerformEscape?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,745 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 11,106 Reputation points Microsoft External Staff
    2025-03-11T05:52:01.71+00:00

    Hi

    Welcome to Microsoft Q&A!

    Narrator is a screen-reading application that's built into Windows 11. Its gesture operations are managed by the system.

    Microsoft UI Automation is an accessibility framework that enables Windows applications to provide and consume programmatic information about user interfaces (UIs). UI automation is primarily used to interact with the UI elements of an application.

    UI Automation doesn't handle the Narrator's gesture operations directly.

    If you want to handle Narrator's gestures via UI automation, you could try to do this by simulating keyboard or mouse actions.

    Thank you

    Jeanine


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.