Open srancour opened 2 months ago
Just wanted to update this ticket. @srancour - I have a fix for this that appears to work well but it is failing a cypress test. Hopefully I can get it fixed soon.
Reposting Steve's QA findings from the PR here:
So some interesting issues I found while testing that PR:
{nameOfMenu} sub menu
This is the patch that I applied that Steve is referencing in the above QA: https://www.drupal.org/files/issues/2024-11-05/admin_toolbar-3286466-keyboard-navigation-rerolled-3-5.patch
The patch is part of this issue which has to do with tabbing issues on the editor menus: https://www.drupal.org/project/admin_toolbar/issues/3286466 It looks like this thread has been monitored by the maintainers of the admin_toolbar module. This seems to be the main thread where people work on the tabbing issue itself which could be put into the module when it has reached a good state.
There seem to be a lot of issues and potential patches at this point but no large scale fix. I am documenting what I have found so far on this issue here:
This is original issue tracing back to 2019, with other issues linked to it - https://www.drupal.org/project/drupal/issues/3084529
This issue thread is referenced for Claro, which is the theme our backend is currently based off of: https://www.drupal.org/project/drupal/issues/3270230
My current recommendation, after looking through a lot of issue threads, is to table this for the moment. At the very least, I think it would be better to work through the other accessibility issues first. This has been getting worked on by other Drupal devs for years but it it obviously a pretty huge lift. I am hoping to see more active dev work on this since a patch was just rerolled earlier this month. I will commit to checking back in on this issue each sprint to see how it is progressing.
I would like to keep this ticket in the queue in some capacity so it is easy to revisit the relevant issue queues.
@srancour
Description or Additional Context
9/16/2024: The menu systems are not individually navigable with the keyboard. For each menu option the user must Navigate through each sub menu, sub sub menu and sub sub sub menu option before moving to the next open. The arrow keys do not work in the menu.
Example
On every page when you tab through the navigation, it forces you to go through every single menu and submenu, which adds in a ton of extra tab stops that are unnecessary.
Code snippet
Content menu
Steps to reproduce
Navigation: Home or any other page Load page and tab through all navigation elements to see that you have to tab through every element that exists.
Recommended resolution
Ideally, there would be some combination of arrow keys that would allow you to navigate the menu options at each level, without needing to go through all the sub menu options.
This was captured already in #17764.
This issue seems to be coming from the Admin toolbar module.
Defect Criterion
WCAG 1.3.1 - Information and Relationships - Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.
Users affected
Teams that this affects: