microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.59k stars 1.54k forks source link

Screen reader (NVDA/JAWS) is narrating irrelevant information as toggle button pressed after invoking 'Yes/No' control. #5107

Closed Kirank915 closed 6 months ago

Kirank915 commented 6 months ago

Is it an issue related to Adaptive Cards?

No.

What is the PWD impact?

Users who rely on screen readers are getting impacted as Screen reader (NVDA/JAWS) narrating irrelevant information as toggle button pressed after invoking 'Yes/No' control. It will lead to users getting confused.

What browsers and screen readers do this issue affect?

Windows: Chrome with NVDA

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?

Others or unrelated

What is the public URL for the website?

Request Contributors - POC (sharepoint.com)

How to reproduce the issue?

Step 1: Open the above URL in New Edge/Chrome browsers with valid credentials. Step 2: Invoke the 'Ask iris now' button which is present under the questions section. Step 3: Invoke any question then 'Yes' or 'No create support ticket' controls will appear. Step 4: Verify whether Screen reader (NVDA/JAWS) narrates irrelevant information as toggle button pressed after invoking 'Yes/No' control or not.

What do you expect?

Screen reader (NVDA/JAWS) should not narrate irrelevant information as toggle button pressed after invoking 'Yes/No' control.

What actually happened?

Screen reader (NVDA/JAWS) is narrating irrelevant information as toggle button pressed after invoking 'Yes/No' control. Observation: Screen reader narrating as 'toggle button unavailable what is the contributor program'.

Do you have any screenshots or recordings to repro the issue?

MAS 1 3 1-Screen reader (NVDA JAWS) narrating irrelevant information as toggle button pressed after invoking 'Yes No' control

Did you find any DOM elements that might have caused the issue?

No response

MAS reference

https://aka.ms/MAS1.3.1

WCAG reference

https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html

WAI-ARIA reference

No response

Adaptive Card JSON

No response

Additional context

No response

Kirank915 commented 6 months ago

A11yMAS;#A11ySev3;#MAS1.3.1;#HCL;#Accessibility;#FeatureBotframeworkwebchat-Apr23;#WWL:Bug1767707;

Kirank915 commented 6 months ago

Bug copied from MCAPS: ISSUE 1767707

compulim commented 6 months ago

This is by design (of Adaptive Cards).

Adaptive Cards is designed to support repetitively clicking on the button. So they are push buttons.

Kirank915 commented 6 months ago

As per the above comment, this issue is owned by adaptive cards and not under bot framework team. Hence closed the bug and updated to partner team (WWL).