Stop Using Hamburger Menus
I recently tooted about my hatred of website hamburger menus which was met with a surprising amount of support from other users. It seems like most people don't actually like hamburger menus. So why do we, as developers, keep using them in our products and designs? Is it our only option? Or is it because we have become conditioned to expect it?
The Core Problem with Hamburger Menus
The biggest headache when coming across these menus on the web is the complete disregard for accessibility. Performance and solid user experience is almost always thrown out the window in favour of a "prettier" design layout. You might have made the overall design "cleaner" for your users, but you sacrificed all usability to do so.
"But I Have No Choice!"
I see this argument pop-up frequently when taking to design leaders or developers. I call bullshit on this excuse. You absolutely have the choice to avoid implementing bad designs - that's your job! Either you're not fighting hard enough against those pushing for it, or you're just trying to build a "pretty" portfolio.
Best Alternative: Sitemap Footer
So instead of just whining about hamburger menus, I will actually offer up a solid replacement: sitemap footers. Simply place all your website/application links into the bottom footer and link directly to them from your header. Be sure to also include some form of "Top of the page" link for quick access back to the initial scroll view.
That's it. There is nothing else you need to do for this to just work. It might sound oversimplified and that's because it is. Looking for an example? This very website utilizes this technique, so give it a spin! Try using just your keyboard or even better - use a screen reader. Disable JS and CSS and watch it work flawlessly still.
- Keyboard navigation accessible
- Excellent screen-reader support
- Works on all devices/screens by default (no media queries!)
- Stays out of the way until called upon (UX goodness)
- Footer can become large with many links (although I really don't see this as a big deal)
There really is no excuse to still be using hamburger menus. Users expect them to be present only because we as designers have conditioned them think that way. They deserve a better experience on the web. The least we can do is improve something as simple as website navigation...