[PR #4805] Polish AutomationProperties and UIA Tree Navigation #25958

Open
opened 2026-01-31 09:12:54 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4805

State: closed
Merged: Yes


AutomationProperties of interest in this PR include...

  • Name: the name of a UI element (generally used as the main identifier
    for it)
  • HelpText: an additional description for a more complex UI element
  • AccessibilityView[1]
    • Raw: hide from the UIA tree. Only navigate to this if you know what
      you're doing
    • Control: a control without any content in it. Basically, a point at
      which the user can make a decision as to how to navigate the tree or
      invoke an action.
    • Content: a control that also has content to present to the user.

I set a few more AutomationProperties throughout Windows Terminal...

  • MinMaxClose Control: hidden (we can/should rely on the true buttons
    that we are hiding)
  • SplitButton: Name and Help text (currently ignored due to #4804, but
    having it in the resource file won't cause any problems)
  • SearchBox: added a more specific name to the close button
  • BackgroundImage: hide it

References

A few additional work items have been created for tracking...

PR Checklist

Validation Steps Performed

Verified using Accessibility Insights and Inspect.exe

[1] https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-treeoverview

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4805 **State:** closed **Merged:** Yes --- AutomationProperties of interest in this PR include... - Name: the name of a UI element (generally used as the main identifier for it) - HelpText: an additional description for a more complex UI element - AccessibilityView[1] - Raw: hide from the UIA tree. Only navigate to this if you know what you're doing - Control: a control without any content in it. Basically, a point at which the user can make a decision as to how to navigate the tree or invoke an action. - Content: a control that also has content to present to the user. I set a few more AutomationProperties throughout Windows Terminal... - MinMaxClose Control: hidden (we can/should rely on the true buttons that we are hiding) - SplitButton: Name and Help text (currently ignored due to #4804, but having it in the resource file won't cause any problems) - SearchBox: added a more specific name to the close button - BackgroundImage: hide it ## References A few additional work items have been created for tracking... - SplitButton: https://github.com/microsoft/terminal/issues/4804 ## PR Checklist * [X] Closes #2099 * [X] Closes #2102 ## Validation Steps Performed Verified using Accessibility Insights and Inspect.exe [1] https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-treeoverview
claunia added the pull-request label 2026-01-31 09:12:54 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25958