microsoft / BotFramework-WebChat

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

Screen reader - Screen reader is announcing extra information along with error message #5384

Open Kirank915 opened 3 days ago

Kirank915 commented 3 days ago

Is it an issue related to Adaptive Cards?

No.

What is the PWD impact?

Screen reader users will be confused if extra information is being read which is not required.

What browsers and screen readers do this issue affect?

Windows: Edge with Windows Narrator

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?

https://servicesuat.microsoft.com/#/opdashboard/

How to reproduce the issue?

  1. Turn on Narrator.
  2. Hit the URL https://servicesuat.microsoft.com/#/opdashboard/
  3. Tab till iris bot icon in the header section and press enter.
  4. Iris bot welcome screen will be displayed
  5. Tab till type your message textbox and type Sap access request.
  6. Select self and press enter. Form will be displayed.
  7. Keep the required fields empty.
  8. Tab till submit button and press enter.
  9. The error messages will be appeared to the respective required fields.

What do you expect?

Screen reader should read only the displayed error messages of the required field.

What actually happened?

Screen reader is announcing the unnecessary extra information along with the error message appeared for the required field.

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

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

No response

MAS reference

MAS1.3.1

WCAG reference

No response

WAI-ARIA reference

No response

Adaptive Card JSON

Additional context

Kirank915 commented 3 days ago

Bug copied from TCS team: https://microsoftit.visualstudio.com/OneITVSO/_workitems/edit/11059109

Kirank915 commented 3 days ago

A11yMAS;#AILimited;#A11ySev2;#Accessibility;#Benchmark;#BotFrameworkWebChat-Oct24;#HCL;#MAS1.3.1;#Win11-Edge(Chromium);