Design tokens: build a site that can change themes
Keep colours, spacing and type in one set of variables, so light mode, dark mode and whole new themes need no redesign.
Handle hundreds of pages without overwhelming visitors.
A mega menu is a large panel of grouped links. It suits sites with many categories, such as shops and universities. For small sites a simple menu is better.
aria-expanded to open each panel.<button aria-expanded="false" aria-controls="menu-products">Products</button>
<div id="menu-products" hidden>...</div>On large sites many people go straight to search. Make it prominent and good: suggestions, filters and typo tolerance.
Use tree testing and first-click tests with real tasks to check that people find things.
Keep colours, spacing and type in one set of variables, so light mode, dark mode and whole new themes need no redesign.
You do not need a lab. Five people, a short list of tasks and an hour of observation will show most major problems.