question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[KEYBOARD]: Links in the chat log must be keyboard focusable

See original GitHub issue

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

Screenshots

https://user-images.githubusercontent.com/934879/119392255-24e3f400-bc95-11eb-96ee-50da95041cde.mov

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

The links added to the VA chatbot’s responses are not reachable by keyboard when I am navigating through the page with the TAB key. Quicktime movie attached below.

Steps to reproduce

  1. Links can be confirmed to receive keyboard focus when navigating with the TAB key
  2. This can be verified by typing document.activeElement into the Chrome DevTools console

Expected behavior

Additional context

We cannot make links in the chat log tabbable. We tried adding tab indexes to the links, but this does not solve this issue. Corresponds to this VA GitHub issue: https://github.com/department-of-veterans-affairs/va.gov-team/issues/25156

[Bug]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
LucianaAlexanderMoraiscommented, Feb 2, 2022

This was a rough experience. We definitely need to work on improving this if we can. Right now I am drafting directions to place on the main page when we launch the bot:

"Please note, we are currently working on improving accessibility on this virtual agent. We apologize for any inconvenience.

To start using the virtual agent with a screen reader, you can:

  1. Tab to select the virtual agent window
  2. Tab to select the “Accept” button and press Enter
  3. Use arrow keys to listen to chatbot messages
  4. Tab to select the “Type your message” section
  5. Ask your question and press Enter
  6. Use Shift+Tab to move back to messages
  7. Use arrow keys to focus on a specific message.
  8. Press Enter to focus on a link
  9. Press Enter again to open a link. Link will open on another page.
  10. Use Shift+Tab to exit the chatbot window.
0reactions
compulimcommented, Nov 30, 2021

Agree and it should be doable today.

For step 3, after focusing in the activity, the user press <kbd>TAB</kbd> or<kbd>SHIFT</kbd> + <kbd>TAB</kbd> to jump between links/buttons.

For step 4, the user will leave the activity and go back to step 1 if they do one of the following:

  • Press <kbd>ESCAPE</kbd>
  • Press <kbd>TAB</kbd> on the last links/buttons in the activity
  • Press <kbd>SHIFT</kbd> + <kbd>TAB</kbd> on the first links/buttons in the activity
Read more comments on GitHub >

github_iconTop Results From Across the Web

Keyboard - Accessibility - MDN Web Docs - Mozilla
To be fully accessible, a web page must be operable by someone using only a keyboard to access and control it. This includes...
Read more >
Keyboard and visual focus - IU KB - Indiana University
All interactive elements, such as links, buttons, and form fields, need to be usable with only the keyboard and should clearly indicate when ......
Read more >
Keyboard focus: Helping users navigate The Post without a ...
If the thing that should be keyboard focusable is not an inherently clickable element like a link or button, but has been made...
Read more >
Keyboard shortcuts for Microsoft Teams for personal and small ...
The shortcuts in this topic refer to the US keyboard layout. · A plus sign (+) in a shortcut means that you need...
Read more >
Use Google Chat keyboard shortcuts
You can use keyboard shortcuts in Google Chat on Chrome OS, macOS, and Windows. ... Navigate messages within a conversation, Focus on previous...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found