[PR #12259] [MERGED] Expose Defterm info to ComboBoxItem properly #28934

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12259
Author: @carlos-zamora
Created: 1/26/2022
Status: Merged
Merged: 1/26/2022
Merged by: @undefined

Base: mainHead: dev/cazamor/a11y/11251


📝 Commits (1)

  • edbc78b Expose Defterm info to ComboBoxItem properly

📊 Changes

3 files changed (+9 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalSettingsEditor/Launch.xaml (+3 -0)
📝 src/cascadia/TerminalSettingsModel/DefaultTerminal.h (+5 -0)
📝 src/cascadia/TerminalSettingsModel/DefaultTerminal.idl (+1 -1)

📄 Description

Summary of the Pull Request

Makes Model::DefaultTerminal an IStringable, which presents it as a string, when possible. This enables text search for defterm's setting. This also enables screen readers to identify the combo box items by their text content (app name, author, and version) as opposed to being treated as an item containing more text. As a part of that, I cleaned up the UIA tree to treat the item's name as "<name>, <author>, <version>". This is consistent with how the Settings App presents installed apps in Apps > Installed apps.

#11251 will be resolved upon verification by the accessibility team.

Validation Steps Performed

Verified using Narrator and Accessibility Insights.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/12259 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 1/26/2022 **Status:** ✅ Merged **Merged:** 1/26/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/cazamor/a11y/11251` --- ### 📝 Commits (1) - [`edbc78b`](https://github.com/microsoft/terminal/commit/edbc78b291a2a8e219f2447c18718520f8d88381) Expose Defterm info to ComboBoxItem properly ### 📊 Changes **3 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/Launch.xaml` (+3 -0) 📝 `src/cascadia/TerminalSettingsModel/DefaultTerminal.h` (+5 -0) 📝 `src/cascadia/TerminalSettingsModel/DefaultTerminal.idl` (+1 -1) </details> ### 📄 Description ## Summary of the Pull Request Makes `Model::DefaultTerminal` an `IStringable`, which presents it as a string, when possible. This enables text search for defterm's setting. This also enables screen readers to identify the combo box items by their text content (app name, author, and version) as opposed to being treated as an item containing more text. As a part of that, I cleaned up the UIA tree to treat the item's name as "\<name\>, \<author\>, \<version\>". This is consistent with how the Settings App presents installed apps in Apps > Installed apps. #11251 will be resolved upon verification by the accessibility team. ## Validation Steps Performed Verified using Narrator and Accessibility Insights. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:31:44 +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#28934