Re: [csswg-drafts] Do we need :focus-visible-within ? (#3080)

I would also love a `:focus-visible-within`...if CSS didn't feel like that was possible, I wonder if a related JS concept of adding `focusVisible` as a property on a [`focusin`](https://developer.mozilla.org/en-US/docs/Web/API/Element/focusin_event) event would make sense. Sort of a reciprocal of `el.focus({focusVisible: true})`. Then we could at least manage this via JS?

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


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

Received on Wednesday, 4 March 2026 19:57:19 UTC