Page MenuHomePhabricator

Update highlight, selection and focus behaviour in VE template dialog
Open, Needs TriagePublic

Description

Definitions:
Blue background, blue text highlight = selected
Gray background, black text highlight = hover

Requirements per sidebar element

Template names (thus, only multi-part transclusions):

  • Only has blue highlight when selected (with click, enter, or spacebar). No blue highlight when the user has selected other elements, even within the same template.
  • Gray highlight on hover (existing behavior)
  • Blue outline on focus when tabbed to (existing behavior)

Parameters:

  • Has blue highlight when selected (with click on name, click in checkbox, space or sidebar and with click or tab into field in the content pane)
  • Gray highlight on hover (when not selected)
  • Gray highlight on focus, when navigated to within the parameter list using keyboard nav (existing behavior)

Wikitext:

  • Blue highlight when selected (existing behavior)
  • Gray highlight on hover (existing behavior)
  • Blue outline on focus when tabbed to (existing behavior)

Search within template field:

  • Clicking into the search field removes any selections and associated highlights

General:

  • Ignore hover when already selected - only display selected blue highlight (follow OOUI behavior)
  • Follow OOUI behavior for case of hover via keyboard navigation and mouse (confirm and document behavior)