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

Can't tab through to dropdown menu when using Menu Modules and the Divi Theme Builder #87

Closed
christinagwira opened this issue Sep 17, 2023 · 1 comment

Comments

@christinagwira
Copy link

Hi everyone! Hope all are well. I think I've discovered a bug when using the Menu Module in the Divi Theme Builder. Here are two websites:

  1. https://utm.noyadesigns.com - This uses the default Divi menu. Keyboard tabbing through to a submenu works
  2. https://blackutm.noyadesigns.com - This uses a Menu Module within the Divi Theme Builder. You are unable to tab through to submenus/dropdowns using the keyboard

Looking for a workaround, would it be wise to assign the CSS class name of the standard Divi menu to the Menu Module in the Theme Builder? How can we get it so that when a menu module is used in the Global Default Template, or any template within the Divi Theme Builder, we can still use TAB + SHIFT to use the keyboard to navigate through the menu?

Thank you for your time and looking forward to seeing this fixed.

@christinagwira
Copy link
Author

This CSS code from #53 fixes this issue:

li:focus-within > ul { opacity: 1; visibility: visible; } .menu-item li a:focus { display: block; }

Not sure how this will work with multicolumn dropdowns, but for single-column dropdowns, adding this CSS to your Theme Builder allows you to TAB and TAB + SHIFT through your Menu Module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant