[PR #14704] Manually set the automation name of the default color scheme for screen reader #30223

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

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

State: closed
Merged: Yes


Summary of the Pull Request

When we navigate to the color schemes page, find the default color scheme (if present) and manually set the container's automation name to include the word 'default'.

Note that we don't want to change the actual ColorSchemeViewModel's name since that name is used internally to identify schemes. We only want to change the ListViewItem's name, i.e. the container in the SUI.

PR Checklist

  • Closes running wt -w -0 Minimises terminal (#14401)
  • CLA signed. If not, go over here and sign the CLA
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Validation Steps Performed

Screen reader reads out the 'default' text now. It also correctly reads out the new default scheme if the default scheme is changed via SUI or json.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/14704 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request When we navigate to the color schemes page, find the default color scheme (if present) and manually set the container's automation name to include the word 'default'. Note that we don't want to change the actual `ColorSchemeViewModel`'s name since that name is used internally to identify schemes. We only want to change the `ListViewItem`'s name, i.e. the container in the SUI. ## PR Checklist * [x] Closes #14401 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx ## Validation Steps Performed Screen reader reads out the 'default' text now. It also correctly reads out the new default scheme if the default scheme is changed via SUI or json.
claunia added the pull-request label 2026-01-31 09:39:25 +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#30223