Menu Button: Keyboard Support

Example

Menu Button example with keyboard support on WebEdit

New Keyboard Support

  • Button opens menu moves keyboard focus to a menu option.
    • Space
    • Enter
    • Up arrow
    • Down arrow
  • Move through menu options with cursor keys.
    • Up arrow
    • Down arrow
    • Home
    • End
  • Move through menu options with first letter keys.
    • A-Z
    • a-z
  • Close menu and move focus back to button.
    • Escape

HTML Source Code


CSS Source Code


Javascript Source Code