microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.74k stars 543 forks source link

[Adaptive Card: info icon]: Screen reader is not reading information that appears after expanding information icon on 'Public adaptive card schema' Preview. #7011

Open jwoo-msft opened 2 years ago

jwoo-msft commented 2 years ago

https://microsoft.visualstudio.com/OS/_workitems/edit/36485981

jwoo-msft commented 2 years ago

This issue seems to invalid test case.

  1. Card is not expanded correctly due to missing data
PankajBhojwani commented 2 years ago

One potential solution for this issue is to tell the ToggleVisibility action to move focus to the element that it just set to Visible. However, this potentially breaks situations where the ToggleVisibility action is actually being used to toggle the visibility of several items such as in https://microsoft.visualstudio.com/OS/_workitems/edit/38275351 (instead of being used to 'open up a new control').

Looking deeper, this issue, #6264, #6274 all stem from the same underlying problem:

Users want an expander control, but their only option right now is to simulate an expander by using a button with the ToggleVisibility action on it.

After some discussion, @carlos-zamora and I are thinking the best way to solve these issues is to implement a new control that truly is an expander. Then, that control can do the following:

@jonmill @paulcam206, I've set up a meeting with all of us to discuss this!

anna-dingler commented 4 months ago

@jwoo-msft @paulcam206 Should we close this since ToggleVisibility is deprecated?