[PR #12324] [MERGED] Update accessible names for 'add profile' page buttons #28983

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

📋 Pull Request Information

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

Base: mainHead: dev/cazamor/a11y-polish-new-profile-btn


📝 Commits (3)

  • 7853074 Update accessible name for 'new profile' button
  • 78d43de Do the same for 'duplicate' button
  • 1131263 Reintroduce .Content

📊 Changes

2 files changed (+8 additions, -6 deletions)

View changed files

📝 src/cascadia/TerminalSettingsEditor/AddProfile.cpp (+6 -0)
📝 src/cascadia/TerminalSettingsEditor/AddProfile.xaml (+2 -6)

📄 Description

Summary of the Pull Request

When using a screen reader, the buttons on the "add a new profile" page were being read weirdly:

  • "New empty profile" button read as "create new button button"
  • "duplicate" button read as "duplicate button button"

It's generally standard to read out the text inside the button, so I did just that by reusing the existing localized resources. This also removes the redundant "button" that is said by the screen reader.

I also removed the unused AutomationId and unnecessary Button.Content tags.

#11156 can be closed upon validation by the accessibility team.

Validation Steps Performed

navigate to both buttons using Narrator; make sure it sounds right


🔄 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/12324 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 2/1/2022 **Status:** ✅ Merged **Merged:** 2/2/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/cazamor/a11y-polish-new-profile-btn` --- ### 📝 Commits (3) - [`7853074`](https://github.com/microsoft/terminal/commit/78530742c3286ca76ced3321a2d1bce7af05d92e) Update accessible name for 'new profile' button - [`78d43de`](https://github.com/microsoft/terminal/commit/78d43dec2e1b32f719660724658beee862e841e4) Do the same for 'duplicate' button - [`1131263`](https://github.com/microsoft/terminal/commit/1131263d88499c1af6959f0419e1915492ce553c) Reintroduce .Content ### 📊 Changes **2 files changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.cpp` (+6 -0) 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.xaml` (+2 -6) </details> ### 📄 Description ## Summary of the Pull Request When using a screen reader, the buttons on the "add a new profile" page were being read weirdly: - "New empty profile" button read as "create new button button" - "duplicate" button read as "duplicate button button" It's generally standard to read out the text inside the button, so I did just that by reusing the existing localized resources. This also removes the redundant "button" that is said by the screen reader. I also removed the unused `AutomationId` and unnecessary `Button.Content` tags. #11156 can be closed upon validation by the accessibility team. ## Validation Steps Performed ✅ navigate to both buttons using Narrator; make sure it sounds right --- <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:32:04 +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#28983