- From: Emilio Cobos Álvarez via GitHub <noreply@w3.org>
- Date: Fri, 03 Apr 2026 19:51:15 +0000
- To: public-css-archive@w3.org
Such a pseudo-class wouldn't be sound, because focusability depends on styles as well. E.g. `visibility: hidden` would make something not focusable, and `overflow: auto` with overflow would make any element focusable... Plus a shadow host can be focusable and its shadow tree descendant _also_, and you still don't want outlines on both when the inner thing is focused. I think if we wanted to make this work, `:focus-visible-within` is the most obvious way to go about this... -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3080#issuecomment-4184961647 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 3 April 2026 19:51:16 UTC