[Accessibility] WCAG 1.3.1: Ensures elements with an ARIA role that require child roles contain them #4393
Closed
1 of 2 tasks
Labels
Milestone
Is it an issue related to Adaptive Cards?
Do you have any screenshots?
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Chrome (latest), Platform: Windows
Which area does this issue affect?
Chat history
Is this an accessibility issue?
Please describe the bug
WCAG 1.3.1: Ensures elements with an ARIA role that require child roles contain them (.webchat--css-cujit-1l95nvm)
Initially, the chat history is empty with no messages. Thus, it has
role="feed"
but does not have any children marked asrole="article"
or<article>
.Thus, it violated WCAG 1.3.1.
Do you see any errors in console log?
No response
How to reproduce the issue?
What is the expected and actual behavior?
Expected:
Actual:
Adaptive Card JSON
No response
Additional context
There are few potential solutions:
<article>
saying "Chat history is empty"role="feed"
only if the chat history contains 1 or more messages, leave therole
attribute empty otherwisearia-busy="true"
if the chat history is emptyReadings
The text was updated successfully, but these errors were encountered: