Closed priysn closed 4 years ago
Adaptive Cards is setting tabIndex="0"
to the root container, regardless whether the card is clickable or not. Some cards do support clicking on, but the "simple card" mentioned in this issue should not be clickable.
If you visit https://adaptivecards.io/samples/, you will see the DOM tree looks like the following screenshot.
This is a bug on Adaptive Cards. Please file a bug on their repo.
Reopening so we can confirm from the accessibility team.
Confirmed with accessibility team as external. Adaptive Cards issue can be found here.
I have been looking at this today and here are my findings:
So my conclusion:
I think we'll need to look into other ways to solve this if it is critical (is it?)
Thoughts and comments welcome.
@dclaux That's a really good point.
@awalia13, would you have time to look at this? Please let us know if we can close the issue on the AC repo as no-op, or if you have suggestions on another way to fix.
Agreed with @dclaux. hence closing this bug.
@awalia13 - you might consider reopening this issue, as we've made a fix over on the AdaptiveCards side (see microsoft/adaptivecards#4019). Narrator is indeed able to read cards correctly without a tabstop. To adopt this fix in your codebase, you'll need to make a small change to enable the desired behavior.
@corinagum As we checked, the bug still repro's at our side. Still our focus lands on the non interactive card which doesn't have any functionality. Please refer the attached video "focus lands on non interactive card.zip"
Uploading focus lands on non interactive card.zip… Correct URL: https://microsoft.github.io/BotFramework-WebChat/01.getting-started/a.full-bundle/
Actual Result: Focus is landing on non-interactive elements after activating the 'Show a simple' Adaptive cards button.
Expected Result: Focus should not land on non-interactive elements after activating the 'Show a simple' Adaptive cards button.
Repro Steps:
User Impact: If focus lands on the non-interactive elements then user will get confuse and not able to understand that what action will do.
MAS Reference: MAS 2.4.3 - Focus Order (05)
Test Environment: OS: Windows 10 OS Build: 17134.345 OS Version: 1803 Browser: Edge
**Attachment: MAS2.4.3_Focus is landing on non-interactive element.zip