[PR #13519] [a11y] Make CommandPalette announce selected item #29612

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

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

State: closed
Merged: Yes


Summary of the Pull Request

The command palette (and tab search by extension) doesn't ever tell screen readers what is selected. Here, we simply hook up the selection changed event to a function that tells the screen reader what is selected. With this, the user no longer has to tab into the list view to know what is selected!

Will resolve the following bug upon validation from a11y team: #12065

Validation Steps Performed

Performed repro steps from #12065.

NOTE: we do NOT read the selected item when the command palette is first opened. I think that's ok.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13519 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request The command palette (and tab search by extension) doesn't ever tell screen readers what is selected. Here, we simply hook up the selection changed event to a function that tells the screen reader what is selected. With this, the user no longer has to tab into the list view to know what is selected! Will resolve the following bug upon validation from a11y team: #12065 ## Validation Steps Performed Performed repro steps from #12065. NOTE: we do NOT read the selected item when the command palette is first opened. I think that's ok.
claunia added the pull-request label 2026-01-31 09:35:54 +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#29612