BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

[Screen Readers-Ask HR Bot-Ask HR Virtual Assistant]: JAWS is narrating the suggestion invoked by the user twice upon invoking the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window.

Open KattaBhargav opened this issue 3 years ago • 5 comments

PWD Impact:

Screen reader users are getting impacted if JAWS is narrating the suggestion invoked by the user twice upon invoking the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window.

Test Environment:

OS: WIN10 1909 (OS Build 18363.836) Browser: Chrome Version 83.0.4103.61 (Official Build) (64-bit) URL: https://microsoft.sharepoint.com/teams/HR_Web_Dev_Site/SitePages/AskHRBotTest.aspx Screen Reader: JAWS 2019.1912.1

Repro Steps:

Step 1: Enable JAWS and open the above URL in Chrome browser. Step 2: Navigate to the “Ask HR Bot” Button in cursor mode and invoke it. Step 3: Invoke any of the suggested questionnaire button present in the chat window. Step 4: Verify the screen reader behavior upon invoking the suggestion questionnaire button present in the “Ask HR Virtual Assistant” chat window.

Actual Result:

JAWS is narrating the suggestion invoked by the user twice upon invoking the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window. Ex: JAWS is narrating as: "User Said Ask a Generic HR Question sent at 29th May 2020 2.16 P.M User Said Ask a Generic HR Question sent at 29th May 2020 2.16 P.M. "

Expected Result:

JAWS should narrate the suggestion invoked by the user once upon invoking the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window. JAWS should narrate as : "User Said Ask a Generic HR Question sent at 29th May 2020 2.16 P.M."

MAS Reference:

MAS 4.2.1 - Object Information (33A)

KattaBhargav avatar May 23 '22 13:05 KattaBhargav

#A11yMAS;#A11ySev4;#HCL;#WCAG4.2.1;#Accessibility;#Win10-Edge(Chromium);#BotFrameworkWebChat-Aug21;#Linked:Bug5843513;#LinkedBug;

KattaBhargav avatar May 23 '22 13:05 KattaBhargav

Bug copied from CSEO team Bug id:-BUG 5843513

KattaBhargav avatar May 23 '22 13:05 KattaBhargav

assigning @compulim

axelsrz avatar May 24 '22 18:05 axelsrz

Action items:

  • [x] When a message with suggested actions arrives, we should narrate it thru live region twin
  • [x] Suggested actions container should be a toolbar role
    • Buttons will implement using the roving index mechanism
    • tabindex="0" for focusing button, tabindex="1" for non-focusing, so TAB key will skip all other buttons and move focus to next focusable after the container
  • [x] ~Move accesskey attribute from the buttons to the suggested actions container~
  • [x] (Optional) We may not need to narrate "suggested actions: is empty"
  • [ ] (Optional and need asks) Carousel flipper buttons could have TAB disabled (tabindex="-1") to reduce confusion and complexity when pressing TAB key to access the suggested action buttons

compulim avatar Jun 13 '22 21:06 compulim

Reopen to pend for verification.

compulim avatar Jun 24 '22 10:06 compulim

This is done in PR #4323. Testers did not verify it on time, so we assume this is fixed properly.

compulim avatar Oct 28 '22 18:10 compulim

#A11yMAS;#A11ySev3;#HCL;#WCAG4.2.1;#Accessibility;#Win10-Edge(Chromium);#BotFrameworkWebChat-Aug21;#Linked:BUG 5843513;#LinkedBug;

KattaBhargav avatar Jun 20 '23 07:06 KattaBhargav