joshwcomeau/guppy

Improve keyboard navigation in our forms

Open

#316 opened on Nov 1, 2018

View on GitHub
 (6 comments) (2 reactions) (0 assignees)JavaScript (151 forks)github user discovery
good first issue

Repository metrics

Stars
 (3,248 stars)
PR merge metrics
 (PR metrics pending)

Description

During my work on AppSettingsModal I've noticed that keyboard navigation through the form is not supported yet. I think it's needed to have a more native ux.

Describe the solution you'd like

  • Tab key should move the focus to the next form field forward and shift+tab backwards. Starting at the first element.
  • Project icon selection should support left, right, up & down navigation & enter key to move the focus out of the selection area.
  • Escape key should dismiss modals

Optional: Add navigation with left,right,up & down to move the focus.

Forms to check

  • CreateNewProjectWizard
  • ProjectConfigurationModal
  • AppSettingsModal

Note: There is more to improve e.g. keyboard navigation in sidebar & project page. But I think we should tackle this in a separate issue.

Contributor guide