Feature Idea: Find/Extract Text Attributes for Accessibility #3012

Open
opened 2026-01-30 23:10:49 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Jul 30, 2019).

Originally assigned to: @carlos-zamora on GitHub.

Description of the new feature/enhancement

ITextRangeProviders can have support for a FindAttribute() function (link). They support a ton of different text attributes.

We definitely can support background/foreground color. This might be a good opportunity to enhance our accessibility as a terminal. But we need to do some research as to how automation clients (i.e.: narrator) make use of this.

This would also expand as we support more text attributes in the future.

Proposed technical implementation details (optional)

This would go in the shared code for UIATextRange and would require some changes to propagate to XamlUiaTextRange in Windows Terminal.

Originally created by @carlos-zamora on GitHub (Jul 30, 2019). Originally assigned to: @carlos-zamora on GitHub. # Description of the new feature/enhancement `ITextRangeProvider`s can have support for a `FindAttribute()` function ([link](https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/nf-uiautomationcore-itextrangeprovider-findattribute)). They support a ton of different [text attributes](https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-textattribute-ids). We definitely can support background/foreground color. This might be a good opportunity to enhance our accessibility as a terminal. But we need to do some research as to how automation clients (i.e.: narrator) make use of this. This would also expand as we support more text attributes in the future. # Proposed technical implementation details (optional) This would go in the shared code for `UIATextRange` and would require some changes to propagate to `XamlUiaTextRange` in Windows Terminal.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3012