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

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

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

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12324 **State:** closed **Merged:** Yes --- ## 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
claunia added the pull-request label 2026-01-31 09:32:05 +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#28988