Skip to content

v0.5.0

Compare
Choose a tag to compare
@brenna brenna released this 30 Nov 23:46
· 42 commits to master since this release

[FEATURE] accessible keyboard controls!

  • responds to keyboard controls like a native select element would
  • arrow down key opens menu if not already open
  • up and down arrows cycle through action buttons options, omitting disabled items
  • enter key selects an option (when an option is focussed)
  • enter key processes an action (when an action button like "Clear" or "Add new" is focussed)
  • esc key closes the menu when open
  • tab key closes the menu and brings focus to next element on the page that can receive focus