Closed kattepalli closed 2 years ago
Expected Result: Screen readers(NVDA/JAWS) shouldn't narrate the source code in chat window when user invoked the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window. Ex: NVDA/JAWS should narrate as "You said: Wellbeing Programme send at September 28 at 7:20 PM activity Bot said: list with 1 items wellbeing programme"
MAS Reference: MAS 1.3.1 – Info and Relationships
WCAG Reference: https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html
Bug copied from CSEO team Bug id:-https://microsoftit.visualstudio.com/OneITVSO/_workitems/edit/8007427
Hey @compulim could you take a look at this?
The text content of the activity is actually code. That's why the screen reader is narrating code.
Please refer to this article to see how to add "alt text" to a message, https://github.com/microsoft/BotFramework-WebChat/blob/main/docs/ACCESSIBILITY.md#controlling-the-narration-of-activities-and-attachments.
Talked with Sukesh offline. There are 2 approaches:
channelData['webchat:fallback-text']
text
field into channelData
, the channel data is a property bag for storing anything serializable as JSONtext
field (say, alt text)text
field, use the JSON from the channelData
fieldFor both approaches, the bot need to be updated to include more information (alt text).
Given offline discussions and approaches to address the issue. No action is needed on WebChat. This is a matter of adjusting the use of Web Chat and the configuration of the Bot. Closing
PWD Impact: Screen reader users are getting impacted if screen readers(NVDA/JAWS) are narrating the source code in chat window when user invoked the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window.
Test Environment: OS: Windows 10 version 21H1 (OS Build 19043.1110) Browser: New Edge Version 92.0.902.62 (Official build) (64-bit)/Chrome Version 92.0.4515.107 (Official Build) (64-bit) URL: https://askhrvadev.azureedge.net/?botOrigin=ec Tools: NVDA
Repro Steps: Step 1: Enable Screen readers (NVDA/JAWS) and Open the above URL in the Chrome/Edge Browser using valid credentials. Step 2: 'AskHR Virtual Assistant' Home page gets opened. Step 3: Navigation: Select Benefits--> select Wellbeing Programme-->Wellbeing Programme gets displayed in chat window using down arrow key navigate to wellbeing Programme content and verify the Screen readers(NVDA/JAWS) behavior
Actual Result: Screen readers(NVDA/JAWS) are narrating the source code in chat window when user invoked the Suggested Questionnaire button present in the “Ask HR Virtual Assistant” chat window. Ex: NVDA/JAWS narrating as "You said: Wellbeing Programme send at September 28 at 7:20 PM……………………………………….