Closed thewebtailors closed 3 years ago
@vladislavbailovic Could you please have a look?
For right now I added the following code to my function.php file to make the menu controllable via keyboard:
//menu accessibility fix add_action('wp_footer', function() { ?><script>document.querySelector('.mobile_menu_bar').classList.add('mobile_menu_bar_toggle');</script><?php },-10);
But if you could add support for it from within your plugin that would be even better.
I've added the toggle to my mobile menu bar, but I'm still unable to navigate to it via the keyboard - is there any additional info out there on making the divi mobile menu accessible from a keyboard? I've been searching, but thought I'd ask here as well.
Hello everyone,
I just merged a fix in to the plugin and a new release is coming soon. Could you please try it out and see if this fixes your problem? I will link the release when I have published it.
Thanks.
Link to release: https://github.com/campuspress/divi-accessibility/releases/tag/2.0.3
I just tested, and the return key works, but not space bar for the mobile menu - but this is a great improvement! I was able to hit enter, and tab through all the menu items and when it was through the items, it closes the menu and continues down the page.
@TxSadhu Can you make this work with space bar?
Thanks to @stpha6 for testing.
Hello all,
Anyone up for another test? Here's the release. I tested it myself and it seems to be working fine.
https://github.com/campuspress/divi-accessibility/releases/tag/2.0.4
Thanks.
looks like spacebar functionality works now!
Thanks!
On Mon, Apr 26, 2021 at 11:06 AM Alex Stine @.***> wrote:
Hello all,
Anyone up for another test? Here's the release. I tested it myself and it seems to be working fine.
https://github.com/campuspress/divi-accessibility/releases/tag/2.0.4
Thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/campuspress/divi-accessibility/issues/36#issuecomment-826910589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2FD3V7R36OYTPSTAU5D2LTKV6PLANCNFSM4RICWEMQ .
-- Maryann Reissig https://maryannreissig.com https://gvrc.org @stpha6 https://twitter.com/stpha6
"Peace is the language that everyone understands..."
It seems like depending on from which location Divi outputs the mobile menu, the hamburger menu icon classes differ:
(e.g. output through Divi/includes/builder/module/FullwidhtMenu.php or through Divi/includes/builder/module/Menu.php).
The divi-accessibility plugin however only seems to improve the accessibility for "mobile_menu_bar_toggle". Can you also add support for the class mobile_menu_bar class?