This is an accessibility feature I need as well, as the module doesn't meet current best practices for keyboard accessibility. The menu is slow to traverse without allowing users to skip the sub-menus.
- 🇺🇸United States trishkaideka
My team also needs the menu to be keyboard accessible with more up-to-date requirements.
We have been using a patch that utilizes the JS from https://www.w3.org/WAI/tutorials/menus/application-menus-code/ .
But it would obviously be better if this change was made on the module itself.
- 🇺🇸United States emptyvoid
Great example for the jQuery behaviors.
have to successfully loaded it in a theme or custom module harness?Some notes on compliance I've researched are:
Please note the navigation component provides both a desktop and mobile navigation interface and both will need to be audited, assessed, and development considerations applied to make it compliant.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/me...
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/me...
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/me...
https://www.w3.org/WAI/ARIA/apg/patterns/menubar/Navigation Menu Example:
https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-naviga...I'll be evaluating version 8 and the 2 branch to determine if the JavaScript library and integration module for Superfish can support being fully compliant. Otherwise I'll have to research alternatives or (sigh) build a custom menuing module myself. :(
Currently there are none, NO MODULE for menuing which is ARIA and 508 compliant with Keyboard or screen reader usability.
Not even Drupal's Core menuing systems are compliant.This is pretty shameful considering the whole "accessibility" portal the Drupal Org and Acquia pushes. Sadly it is more FUD and advertising over actual action. Lots of words and little to no actual modules that are compliant.
https://www.drupal.org/about/features/accessibility →I guess it's left up to individuals to get it done.
Now if it could actually be committed into official releases..I'll post any improvements or working custom modules that other cold leverage.
- 🇺🇸United States emptyvoid
Not that this helps with Drupal 10 or the never version.
But here is a extension I built for Drupal 8.
If I have a new version I'll release it here. - 🇺🇸United States emptyvoid
Ok beta build of a Drupal 10 and 11 "add-on" module to run on top of the superfish module.
Adds Aria attributes and toggled states onto menu elements.I attempted to use the totally undocumented tabbingmanager and it's useless.
have some code in place that's commented out as I can't get it to work for more refined keyboard control.Right now it just allows a user to linearly tab through each menu item and sub-menu onto the next top menu item.
Not great for very large menus for sure. But it at least works, as vanilla won't even be tabbed into with the keyboard.By all means, hack away and find a solution for the keyboard to provide the standards compliant interaction.
- Status changed to Needs review
3 months ago 9:28pm 16 August 2024 - 🇺🇸United States jcandan
Any reason this couldn't be submitted as a patch or merge request?