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

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
@krschau krschau added this to the Dev Home 0.15 milestone Jun 7, 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.

7 participants