- What is hamburger icon used for?
- Is hamburger icon good?
- Why hamburger icon is semantically correct?
- How do I make my hamburger menu accessible?
What is hamburger icon used for?
A hamburger icon, in user interface (UI) design, is a navigational symbol consisting of three stacked horizontal lines that indicate the location of a hidden menu. The icon got its name from the fact that its structure resembles a burger in a bun in a simplified graphic.
Is hamburger icon good?
Hamburger menus might be a great solution for mobile devices with limited screen space, however, translating the same mobile-first design into your desktop without any changes may cause a bad user experience. Putting your most important pages in hidden navigation could sabotage them.
Why hamburger icon is semantically correct?
The hamburger icon is easily scaleable and it fits cleanly into a pixel grid. It was originally a list icon that has been press-ganged into its current role, but since a menu is simply a list of options, it's semantically correct to use the list item in this way.
How do I make my hamburger menu accessible?
When the keyboard focus is positioned on the hamburger button, the menu can be displayed/hidden using the Spacebar and Enter keys. To do this, listen to the click event.