Open pgopinadhu opened 4 months ago
Bug Copied from TCS team: (https://dev.azure.com/dynamicscrm/OneCRM/_workitems/edit/3593696)
@compulim do you have any update on this issue?
@compulim As verified issue is still repro and do you have any update on this issue?
Is it an issue related to Adaptive Cards?
No.
What is the PWD impact?
Screen reader users will be impacted as the users get confused and need to swipe many times while navigating. The screen reader users efforts will be increased.
What browsers and screen readers do this issue affect?
Android: Chrome with TalkBack
Are there any code-based customization done to Web Chat?
No, I am using Web Chat without any customizations except "styleOptions".
What version of Web Chat are you using?
Latest production
Which area does this issue affect?
Transcript navigation
What is the public URL for the website?
No response
How to reproduce the issue?
What do you expect?
Swiping right once should move focus to the next message.
What actually happened?
Moving focus to the next message required five swipes.
Environment Details:
URL: React App (windows.net)
Do you have any screenshots or recordings to repro the issue?
https://github.com/microsoft/BotFramework-WebChat/assets/120019572/eb5b853e-4a23-4101-a1c6-4b0cb0cf46a7
Did you find any DOM elements that might have caused the issue?
After the second swipe when nothing is read out, I suspect TalkBack is reading the second FocusRedirector in the FocusTrap wrapping the first message. https://github.com/microsoft/BotFramework-WebChat/blob/58ec6cd3fcd19a8b070f9afad4ae05e6ab6881a4/packages/component/src/Transcript/FocusTrap.tsx#L56C1-L57C1
After the third swipe when nothing is read out, I suspect TalkBack is reading the first FocusRedirector in the FocusTrap wrapping the second message. https://github.com/microsoft/BotFramework-WebChat/blob/58ec6cd3fcd19a8b070f9afad4ae05e6ab6881a4/packages/component/src/Transcript/FocusTrap.tsx#L52C1-L53C1
MAS reference
MAS 1.3.2 – Meaningful Sequence
WCAG reference
No response
WAI-ARIA reference
No response
Adaptive Card JSON
No response
Additional context
No response