[PR #2296] Accessibility: Refactor IRenderData with IUiaData #24889

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Created the following inheritance tree:
IBaseData
├─ IRenderData
└─ IUiaData

This cleans up what is exposed to UiaProviders. If more things are needed in IUiaData that are already in IRenderData, just move them to IBaseData.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

Anything specifically used for the UIA Providers is now passed through IUiaData. I added a few pragma regions to make the code look pretty. No functionality should actually be changed here.

New files:

  • IBaseData
  • IUiaData

Validation Steps Performed

Used inspect.exe to see if the UIA Tree still appears in ConHost and WindowsTerminal. I was able to still interact with the UIA Tree so nothing broke.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2296 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Created the following inheritance tree: `IBaseData` ├─ `IRenderData` └─ `IUiaData` This cleans up what is exposed to UiaProviders. If more things are needed in `IUiaData` that are already in `IRenderData`, just move them to `IBaseData`. ## References ## PR Checklist * [x] Closes #1992 * [x] CLA signed. * [x] ~Tests added/passed~ N/A * [x] ~Requires documentation to be updated~ N/A * [x] I am a core contributor ## Detailed Description of the Pull Request / Additional comments Anything specifically used for the UIA Providers is now passed through IUiaData. I added a few `pragma region`s to make the code look pretty. No functionality should actually be changed here. New files: - `IBaseData` - `IUiaData` ## Validation Steps Performed Used inspect.exe to see if the UIA Tree still appears in ConHost and WindowsTerminal. I was able to still interact with the UIA Tree so nothing broke.
claunia added the pull-request label 2026-01-31 09:05:56 +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#24889