[csswg-drafts] [css-ui] :focus or :focus-visible? (#12538)

bkardell has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] :focus or :focus-visible? ==
I noted that css-ui includes a reference to `:focus-visible` but when describing outline (in both prose and code in example 2) it uses `:focus`.  It worries me that people are likely to read and simply copy this, but this will almost always wind up creating problems (hence the creation of `:focus-visible`.

see https://drafts.csswg.org/css-ui/#outline-width

Happy to send a PR or something if it's necessary

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12538 using your GitHub account


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

Received on Tuesday, 29 July 2025 15:47:41 UTC