Large Heydon Collider on Nostr: I've encountered a navigation menu pattern and I'm not sure what to recommend. But it ...
I've encountered a navigation menu pattern and I'm not sure what to recommend. But it kind of gives me the ick. WDYT?
The way it works, is each `<li>` in the navigation has *2* controls:
1. The primary link (to the top level page in a section of the site)
2. AND a button to open/close a submenu of deep links belonging to that page section.
Like..
<li>
<a href="/to/main/page">topic 1</a>
<button aria-expanded="false" aria-label="More in topic 1">+</button>
<ul hidden>...</ul>
</li>
The way it works, is each `<li>` in the navigation has *2* controls:
1. The primary link (to the top level page in a section of the site)
2. AND a button to open/close a submenu of deep links belonging to that page section.
Like..
<li>
<a href="/to/main/page">topic 1</a>
<button aria-expanded="false" aria-label="More in topic 1">+</button>
<ul hidden>...</ul>
</li>