W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Alice via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Oct 2019 00:00:00 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542452728-1571183999-sysbot+gh@w3.org>
@AmeliaBR 

> 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 https://github.com/w3c/csswg-drafts/issues/4421#issuecomment-542452728 using your GitHub account
Received on Wednesday, 16 October 2019 00:00:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC