Re: [csswg-drafts] [selectors] :focus-visible on a <select> element (#5822)

I think that the Firefox behavior is preferable here. To me at least dropdown selects are more similar to `<button>` than to other `<input>` elements. Also, I don't think I'm concerned about not showing outlines in this case, as when the select is focused there's a clear indicator of that (the dropdown).

>  BTW something similar happens with radio buttons, that you can use the keyboard arrows to move between them, however in that case when you click on a radio button neither Chromium or Firefox match :focus-visible.

That's working definitely as expected. That's regular focus navigation which always matches `:focus-visible` and is different to clicks.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5822#issuecomment-750588327 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 23 December 2020 23:49:51 UTC