[csswg-drafts] [css-selectors] Should iframe elements match :focus or :focus-visible? (#11415)

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

== [css-selectors] Should iframe elements match :focus or :focus-visible? ==
Currently, iframe elements don't match :focus or :focus-visible in chrome, firefox, or safari. This got pointed out in a crbug: https://issues.chromium.org/issues/40944672

Here are some situations where we might or might not want to match :focus or :focus-visible
1. Clicking inside an iframe
2. Clicking a focusable element inside an iframe
3. Keyboard focusing/navigating to an iframe with no focusable content (this will just focus the iframe element)
4. Keyboard focusing/navigating to an iframe which has focusable content (this will focus the first focusable element in the iframe)

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


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

Received on Friday, 27 December 2024 00:44:22 UTC