[PR #12266] [Command Palette] Announce if suggestions were found to screen readers #28940

Closed
opened 2026-01-31 09:31:46 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


Summary of the Pull Request

Expands on #9582. If the command palette finds results, the screen reader says "Suggestions available".

Makes the scenario mentioned in #7907 work.

This is sufficient for various reasons:

  1. According to the bug report, saying that suggestions are available is sufficient

Screen reader should provide the results info on searching commands like 10 results found or suggestions available when there are any search results (Source: #7907)

  1. This is common practice. Settings app and XAML Controls Gallery do this for their search box.

Also, the user should be able to know how many results were found by tabbing/selecting a result item. When this is done, the screen reader will use SizeOfSet and PositionInSet to announce how many results were found and which one we're currently on.

Validation Steps Performed

Verified this behavior using Narrator.
Verified it matches the behavior of the Settings app and the XAML Controls Gallery.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12266 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Expands on #9582. If the command palette finds results, the screen reader says "Suggestions available". Makes the scenario mentioned in #7907 work. This is sufficient for various reasons: 1. According to the bug report, saying that suggestions are available is sufficient > Screen reader should provide the results info on searching commands like 10 results found or suggestions available when there are any search results (Source: #7907) 2. This is common practice. Settings app and XAML Controls Gallery do this for their search box. Also, the user should be able to know how many results were found by tabbing/selecting a result item. When this is done, the screen reader will use `SizeOfSet` and `PositionInSet` to announce how many results were found and which one we're currently on. ## Validation Steps Performed Verified this behavior using Narrator. Verified it matches the behavior of the Settings app and the XAML Controls Gallery.
claunia added the pull-request label 2026-01-31 09:31:46 +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#28940