Open guimafelipe opened 6 months ago
@guimafelipe, when is this needed by?
@guimafelipe, when is this needed by?
@jwoo-msft Currently as soon as possible, as this is affecting the accessibility grade.
This same issue is reported in two widgets and also in the configuration of two extensions. So it is duped four times in total.
Moving this to feature request since an "update" mechanism is not explicitly supported in Adaptive Cards at this time.
I will update this ticket with a timeline after our team meeting next week.
For the host app: That said, something that might work well enough for this specific scenario would be for the host app to:
Narrator issue mitigation: https://learn.microsoft.com/en-us/windows/apps/design/accessibility/custom-automation-peers
Full AC solution:
Target Platforms
AdaptiveCards-WinUI (=shared code with Universal)
SDK Version
1.0.2
Application Name
Dev Home, Windows Widget Dashboard
Problem Description
When the Adaptive Card of a Widget updates (either by an action pressed or not) and the focus is held inside the card, it is lost on the re-rendering. This happens because all the content of the card is redrawn when an update occurs.
The correct behavior should be the focus being kept to the equivalent control if the template didn't change from update to another. Or if the template changes, the focus should change to the AC itself. And the narrator should not narrate the control again when this change happen.
Screenshots
No response
Card JSON
Sample Code Language
C#
Sample Code
No response