Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SUI breadcrumb readable by screen readers #14180

Merged
1 commit merged into from Oct 11, 2022

Conversation

carlos-zamora
Copy link
Member

The breadcrumbs in the SUI were not readable by screen readers because they are represented as a button with a text block inside of it. Turns out, if you make the DataTemplate's item IStringable (meaning it has a ToString()), it all magically works! Allowing the screen reader to read the button as text.

Closes #13826

@carlos-zamora carlos-zamora added this to the Terminal v1.17 milestone Oct 11, 2022
@ghost ghost added Area-Accessibility Issues related to accessibility Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-1 A description (P1) Product-Terminal The new Windows Terminal. labels Oct 11, 2022
Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bingo!

@DHowett DHowett added Needs-Second It's a PR that needs another sign-off AutoMerge Marked for automatic merge by the bot when requirements are met labels Oct 11, 2022
@ghost ghost requested review from zadjii-msft and PankajBhojwani October 11, 2022 23:16
@DHowett DHowett added this to To Cherry Pick in 1.15 Servicing Pipeline via automation Oct 11, 2022
@DHowett DHowett added this to To Cherry Pick in 1.16 Servicing Pipeline via automation Oct 11, 2022
@ghost ghost requested a review from lhecker October 11, 2022 23:17
@ghost
Copy link

ghost commented Oct 11, 2022

Hello @DHowett!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 30046dd into main Oct 11, 2022
@ghost ghost deleted the dev/cazamor/a11y/sui-breadcrumb-not-read branch October 11, 2022 23:18
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.15 Servicing Pipeline Oct 12, 2022
DHowett pushed a commit that referenced this pull request Oct 12, 2022
The breadcrumbs in the SUI were not readable by screen readers because they are represented as a button with a text block inside of it. Turns out, if you make the DataTemplate's item `IStringable` (meaning it has a `ToString()`), it all magically works! Allowing the screen reader to read the button as text.

Closes #13826

(cherry picked from commit 30046dd)
Service-Card-Id: 86158951
Service-Version: 1.15
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.16 Servicing Pipeline Oct 13, 2022
DHowett pushed a commit that referenced this pull request Oct 13, 2022
The breadcrumbs in the SUI were not readable by screen readers because they are represented as a button with a text block inside of it. Turns out, if you make the DataTemplate's item `IStringable` (meaning it has a `ToString()`), it all magically works! Allowing the screen reader to read the button as text.

Closes #13826

(cherry picked from commit 30046dd)
Service-Card-Id: 86158952
Service-Version: 1.16
@ghost
Copy link

ghost commented Oct 18, 2022

🎉Windows Terminal v1.15.2874 has been released which incorporates this pull request.:tada:

Handy links:

@DHowett DHowett moved this from Cherry Picked to Shipped in 1.15 Servicing Pipeline Dec 1, 2022
@DHowett DHowett moved this from Cherry Picked to Shipped in 1.16 Servicing Pipeline Dec 1, 2022
@ghost
Copy link

ghost commented Dec 14, 2022

🎉Windows Terminal Preview v1.16.3463.0 and v1.16.3464.0 has been released which incorporates this pull request.:tada:

Handy links:

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Accessibility Issues related to accessibility AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Second It's a PR that needs another sign-off Priority-1 A description (P1) Product-Terminal The new Windows Terminal.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[Settings]: Screen Reader is not announcing Breadcrumb control's name throughout Settings page.
3 participants