-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
Description
Is there any plan to handle the equivalent of :focus-within for the :focus-visible pseudo-selector in the CSS spec? Something like :focus-visible-within?
I modified [my version of] the script to add the focus-visible class to the body whenever focus is visible. Then I can write a selector like body.focus-visible foo:focus-within to style foo when focus is visible within it, but I don't see an obvious way to do that in pure CSS once the spec is updated.
pimdewit, joshua-scott, akovalevaristek, kpiatrou, MrGrigri and 98 moreclementmas