1. 6
  1.  

  2. 2

    I shouldn’t be able to tab my way out of the menu without closing it. A hamburger menu is kind of a mixture of a menu and a modal, so let’s look at them:

    You should probably do one of these.

    1. 2

      Just so you know, I tried the demo (https://www.impressivewebs.com/demo-files/hamburger-menu/) and it doesn’t work at all without JavaScript.

      1. 1

        Wouldn’t it be fun if, because of the prevalence of the hamburger menu, keyboards started getting a new “hamburger” key? A key that opens the menu of the current context.

        1. 2

          Menu keys seeing a new purpose close enough?

          1. 1

            My keyboard has a menu key. It even looks like the hamburger menu, with three identical bars in a box, and no mouse cursor.

            And, according to the keycode tester, JavaScript can get at it with keycode 93 / ContextMenu. If you wanted to, I think you could configure your web page to open its hamburger menu on this button. I’m not sure if you’d want to do that, though.

            1. 1

              Pretty good :-)