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

bug: The MessageOptions (triple dot when hovering over a message) requires reverse tabbing for accessibility to select menu items #2317

Open
tedderple opened this issue Mar 8, 2024 · 0 comments
Labels
bug Something isn't working status: unconfirmed

Comments

@tedderple
Copy link

Describe the bug

A clear and concise description of what the bug is.

Accessibility issue on selecting MessageOptions for accessibility keyboard-only users

See screen cap of demo app:
https://github.com/GetStream/stream-chat-react/assets/24303946/5f005942-0167-469b-bea7-985b82bc4416

We are seeing the same issue in our product that leverages Stream-chat-react

To Reproduce
Use demo app provided here:
https://getstream.io/chat/demos/team/

Steps to reproduce the behavior:

  1. Hover over the MessageOptions (...) when the message is at the top of the page
  2. Use keyboard navigation to navigate through the options ---> this works fine
  3. Do the same for a message at the bottom of the chat and the options stack upwards
  4. This then is difficult for accessibility users to navigate to because it requires navigating backwards for keyboard-only accessibility users

Expected behavior
I believe that when MessageOptions opens, the focus should start at the first top item of the list

Screenshots

If applicable, add screenshots to help explain your problem.
https://github.com/GetStream/stream-chat-react/assets/24303946/5f005942-0167-469b-bea7-985b82bc4416

Package version

  • stream-chat-react: My company uses "stream-chat-react-native-core@5.20.0", but issue seen on your demo app too
  • stream-chat-css:
  • stream-chat-js:

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Seen on Chrome
  • Version 122.0.6261.94
@tedderple tedderple added bug Something isn't working status: unconfirmed labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: unconfirmed
Projects
None yet
Development

No branches or pull requests

1 participant