Page MenuHomePhabricator

Unintuitive tab order when editing senses
Open, Needs TriagePublic

Description

When adding or editing a sense and tabbing between fields, the number of tabs need to reach "add" varies depending on how many glosses there are.

For example, after clicking "add sense", the tab order is:

  • Language
  • Gloss
  • Add
  • Language
  • Gloss
  • Remove
  • Add

Since the first one goes to "add" after the gloss, when I want to click "add" a second time, I almost always accidentally click "remove" and remove the data I've just added.

Demo:

sense-demo.gif (297×803 px, 68 KB)

Event Timeline

I've worked around this by adding .wikibase-lexeme-sense-glosses-remove { visibility: hidden; } to my common.css to completely hide the remove button. In the rare case I actually do want to remove a gloss, I can always load the page using ?safemode=1 or edit the CSS via the browser dev tools...