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

Announcing widget errors and warnings #3023

Merged
merged 9 commits into from
Jun 6, 2024

Conversation

guimafelipe
Copy link
Contributor

Summary of the pull request

When we have a warning inside a widget, or an error message, the narrator should announce this event to the user, reading the message for them.

References and relevant issues

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

Detailed description of the pull request / Additional comments

This changes adds a linear search on the widget whenever it is rendered, looking for potential warning messages, which here are any TextBlocks inside containers with warning style. When found, we use the announcement service to narrate it to the user.

In the case of an error card, all the message is announced to the user when rendered.

Validation steps performed

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

@guimafelipe guimafelipe merged commit 4765c59 into main Jun 6, 2024
4 checks passed
@krschau krschau added this to the Dev Home 0.15 milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants