Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

@guimafelipe
Copy link
Contributor

@guimafelipe guimafelipe commented Apr 4, 2024

Summary of the pull request

This PR adds the functionality for the narrator to say "Widget removed" whenever a widget is removed from the dashboard.

References and relevant issues

https://dev.azure.com/microsoft/OS/_workitems/edit/49357314

Detailed description of the pull request / Additional comments

When a user uses narrator and clicks, it should tell them that the action was completed. To do that, we use the screen reader service, that has a hidden text block acting as a live region on shell page.

We also changed the LiveSetting to "Assertive" on this text block to ensure it will always have priority on the announcements. Without being "Assertive", it may not be announced in result of some new control getting focus.

Validation steps performed

PR checklist

@guimafelipe guimafelipe marked this pull request as ready for review April 5, 2024 18:57
// https://github.com/microsoft/devhome/issues/644
}

public void AnnounceDeleted()
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know it's gross to Application.Current.GetService the ScreenReaderService in WidgetControl, but can we do this there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@guimafelipe guimafelipe merged commit bbd93a0 into main Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility fixes for 0.13 milestone

4 participants