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

arrow key navigation widgets don't work well with NVDA #4444

Open
WofWca opened this issue Dec 25, 2024 · 0 comments
Open

arrow key navigation widgets don't work well with NVDA #4444

WofWca opened this issue Dec 25, 2024 · 0 comments
Labels
accessibility bug Something isn't working

Comments

@WofWca
Copy link
Collaborator

WofWca commented Dec 25, 2024

  • Operating System (Linux/Mac/Windows/iOS/Android): Windows
  • Delta Chat Version: 1.50.1
  • Expected behavior: Focus switches to the next chat list item, as would happen if NVDA was not active, as designed in improvement: arrow-key navigation for chat list #4224.
  • Actual behavior: NVDA announces an item inside the next chat list item, and document.activeElement doesn't change. Pressing ArrowDown again makes NVDA announce the next item within the same chat list item.
  • Steps to reproduce the problem:
    1. Launch NVDA.
    2. Open Delta Chat.
    3. Tab-navigate to an item in the list of chats.
    4. Press ArrowDown.
  • Screenshots:
  • Logs:

As I stated in #4294, we probably need to utilize role="listbox" or role="application" or similar. Adding role="application" on the items wrapper solves the problem that this issue describes, but I am not sure whether this is correct otherwise.
A good resource would be https://www.w3.org/WAI/ARIA/apg/patterns/listbox/ or https://www.w3.org/WAI/ARIA/apg/patterns/grid/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant