Re: [csswg-drafts] [css-ui] outline is not visible when moving focus programmatically (#4421)


> It's that last point that is problematic. Example case: I click on a custom select box to focus it, then use the arrows to cycle through the options. The original focus of the box may not have required a focus ring, but the keyboard actions do need one.

The arrow key interaction should cause the custom select box to start matching `:focus-visible`, per the other heuristic: 

>  if the most recent user interaction was via the keyboard; and the key pressed was either Tab, Shift + Tab, or an arrow key; then the modality is keyboard. Otherwise, the modality is not keyboard.

GitHub Notification of comment by alice
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 16 October 2019 00:00:02 UTC