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

Mega menu model #1013

Open
DavidMacDonald opened this issue Apr 8, 2019 · 4 comments
Open

Mega menu model #1013

DavidMacDonald opened this issue Apr 8, 2019 · 4 comments
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy help wanted Task force is looking for an owner for the issue Pattern Page Related to a page documenting a Pattern

Comments

@DavidMacDonald
Copy link

DavidMacDonald commented Apr 8, 2019

I suggest a separate mega menu version created out of the current menu #410 ... I got it going as a rough idea, but I couldn't get the down arrow to continue to work, to open the menu and arrow through the choices. It would require the following modifications to create a mega example.

  • Allow the menu sub item to take up full screen width
  • Allow something like 3 columns of sub <ul> elements which have a <h2> inside the first <li>
  • Adjust the JS so that the arrow keys will take user into the sub menu items.

However, I think there is an unresolved issue about roles of menubar, menu, menuitem and arrow key navigation. It appears that the wider community has serious reservations about making a navigation menu out of this roles model . So I think we should resolve this first.

#991
#353

@a11ydoer a11ydoer added help wanted Task force is looking for an owner for the issue missing design pattern labels Apr 9, 2019
@charmarkk charmarkk added the enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy label Apr 9, 2019
@DavidMacDonald
Copy link
Author

Note
DIOR did a half decent job of it I think, riffing off the WCAG tutorial
https://www.dior.com/en_us
choose US.

@mcking65 mcking65 added Pattern Page Related to a page documenting a Pattern and removed missing design pattern labels Sep 21, 2019
@jasonday
Copy link

jasonday commented Sep 3, 2020

@DavidMacDonald
Copy link
Author

DavidMacDonald commented Nov 26, 2020

@jasonday I don't think so. Mega menus have many characteristics and several designs that are not captured in the generic model disclosure menu.
There are groups of links, sometimes a left panel with details on the right panel like a sideways tabbed interface. Sometimes the parent button at the top is also a link (on hover opens menu on click goes to the category landing page)
In which case we could provide a link to go to the product category page and next to it a button to open the menu, etc...
And then there is the situation where it collapses into mobile hamburger for all that content.

@carmacleod
Copy link
Contributor

@DavidMacDonald There's a "top-level links" variant of the disclosure navigation example currently being reviewed in PR #1614. You can try it out with the Preview link in the opening comment. Feedback welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy help wanted Task force is looking for an owner for the issue Pattern Page Related to a page documenting a Pattern
Projects
None yet
Development

No branches or pull requests

6 participants