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

[KEYBOARD]: Navigation through the chat log must be easy and intuitive #3935

Open ianpsant opened 3 years ago

ianpsant commented 3 years ago

Please view our Technical Support Guide before filing a new issue.

Screenshots

Screen Shot 2021-05-24 at 1 56 47 PM

Version

<meta name=\"botframework-directlinespeech:version\" content=\"4.12.0\"> <meta name=\"botframework-webchat:bundle:variant\" content=\"full-es5\"> <meta name=\"botframework-webchat:bundle:version\" content=\"4.12.0\"> <meta name=\"botframework-webchat:core:version\" content=\"4.12.0\"> <meta name=\"botframework-webchat:ui:version\" content=\"4.12.0\">

Describe the bug

Steps to reproduce

The screen reader instructions say to use "arrow keys" to navigate through messages, and sighted users are not offered any instructions to use the arrow keys to navigate. It would be better to remove the custom instructions to screen readers, and have the chat log container include a tabindex="0" so it will receive focus, and an overflow-y: auto declaration so users can scroll with up and down arrow keys. This is a default browser behavior.

Expected behavior

Additional context

During implementation we realized this seems to be an intentional design decision that was recently released. Want to confirm that this is fundamental to PVA. Corresponds to this VA GitHub issue: https://github.com/department-of-veterans-affairs/va.gov-team/issues/25164

[Bug]

khathuynh-tw commented 2 years ago

The new canvas provided by Microsoft addresses some of our concerns around keyboard navigation by including a modal that appears before the user can interact with the chatbot. The modal contains instructions for how to navigate the chatbot with a keyboard.

However there are some new issues to follow up on, to be documented here: