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

Navigation Treeview Example - Keyboard navigation breaks when a node is collapsed with expanded children #2544

Open
casselc opened this issue Nov 19, 2022 · 3 comments
Labels
bug Code defects; not for inaccurate prose Example Page Related to a page containing an example implementation of a pattern help wanted Task force is looking for an owner for the issue

Comments

@casselc
Copy link

casselc commented Nov 19, 2022

Example attached. Using keyboard navigation to expand About, expand Facts, collapse About leads to inability to navigate past About using the down arrow until the Facts element is collapsed. Example captured with Edge 107.0.1418.52, also experienced in Firefox 107 on Windows 11.

treeview.issue.mp4
@JAWS-test
Copy link

https://www.w3.org/WAI/ARIA/apg/example-index/treeview/treeview-navigation.html

The problem also occurs in Chrome.

And more generally can be formulated: Whenever a closed submenu contains an open submenu, then it is no longer possible to navigate downwards

@mcking65
Copy link
Contributor

To reproduce:

  1. Expand about
  2. Press down arrow to navigate to Facts
  3. Press right arrow to expand facts
  4. Press up arrow to focus About
  5. Press left arrow to collapse about
  6. Press down arrow to navigate to admissions

Expected result: admissions is focused

Actual result: focus does not move when down arrow is pressed

@css-meeting-bot
Copy link
Member

The ARIA Authoring Practices (APG) Task Force just discussed Issue 2544 - Bug in treeview navigation.

The full IRC log of that discussion <jugglinmike> Topic: Issue 2544 - Bug in treeview navigation
<jugglinmike> github: https://github.com//issues/2544
<jugglinmike> Matt_King: I couldn't figure out what the issue was from the text alone
<jugglinmike> jugglinmike: The critical step to reproduce is to open a sub-menu, leave the sub-menu open, and then close the parent. After that, it becomes impossible to navigate to the parent's siblings
<jugglinmike> jugglinmike: This isn't just about the very first item in the list, either. It can be reproduced using the second item in the list, as well
<jugglinmike> Matt_King: I'll write up a more explicit set of steps to reproduce
<jugglinmike> Zakim, end the meeting

@mcking65 mcking65 added Example Page Related to a page containing an example implementation of a pattern bug Code defects; not for inaccurate prose help wanted Task force is looking for an owner for the issue labels Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code defects; not for inaccurate prose Example Page Related to a page containing an example implementation of a pattern help wanted Task force is looking for an owner for the issue
Development

No branches or pull requests

4 participants