Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat messages are not accessible via keyboard navigation #3986

Open
jancborchardt opened this issue Aug 3, 2020 · 5 comments
Open

Chat messages are not accessible via keyboard navigation #3986

jancborchardt opened this issue Aug 3, 2020 · 5 comments

Comments

@jancborchardt
Copy link
Member

Steps to reproduce

  1. Open a Talk conversation
  2. Use only the keyboard with Tab-navigation and enter
  3. Try to go to a link in a message or use the reply button (e.g. try shift-Tab from inside the new message input field)

Expected behaviour

It works just fine to navigate between messages, replying as well as going to links and opening files which were sent.

Actual behaviour

It is impossible to navigate the message list via keyboard. Shift-Tab from the message field doesn’t go further up than the attachment button.

(This is on our own instance so easy to test @ma12-co )

@PVince81
Copy link
Member

For the message list we should probably use the arrow keys for navigating and tab/shift+tab to move to another field.
We shouldn't use tab for switching between messages as it would make it close to impossible to leave that box, or would take a while if there is scrolling involved and loading of old messages.

@PVince81
Copy link
Member

In general I think we might want to introduce yet another highlight to be able to select a message. The selection would be done either by clicking or moving with the arrow keys. This also means that when coming from search we wouldn't simply flash/highlight the entry (like #4516) but select it.

Thoughts ?

@PVince81
Copy link
Member

I've tested other solutions and it seems arrow keys is the way to go. The arrow keys do this when reaching a message, each entry below is the next one when hitting the down arrow key

  • focus on author name
  • focus on message or image
  • focus on action buttons (like reply), if any
  • next message

And using tab makes it possible to leave the messages list

@PVince81
Copy link
Member

PVince81 commented Nov 19, 2020

  • some aria-label on the converstion content so that when focussed it says "conversation X panel" or something => already have set the message list as a region in A few accessibility tweaks #4652

@PVince81
Copy link
Member

some attempt here: #4666

@marcoambrosini marcoambrosini removed their assignment Feb 1, 2021
@nickvergessen nickvergessen added medium and removed high labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🧭 Planning evaluation / ideas
Development

No branches or pull requests

4 participants