Page MenuHomePhabricator

Have the focus on field when adding new element on Sense
Open, Needs TriagePublic

Description

As an LexData editor, I want to quickly add data when creating Senses.

Problems:

  • When clicking on "Add Sense", there is no focus on a field. The language field of the first gloss should be selected.
  • When clicking "add" to add a gloss in another language, there is no focus on a field. . The newly-created language field should be selected.
  • When clicking "edit" to edit existing senses, nothing is focused. The expected behaviour is trickier here because you might want to edit a specific language or add a new language, but either way, focusing nothing makes keyboard navigation very difficult.

Example:

Screenshots/mockups:

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria: