Re: [csswg-drafts] [css-overflow-5]: calling focus on the carousel / scroll container (#12240)

> That said, the primary issue is still figuring out how authors can call focus directly on the scroll markers, separately from the container element.

@danielsakhapov (https://github.com/w3c/csswg-drafts/issues/12163) and @naomr (https://github.com/w3c/csswg-drafts/issues/12575) have both proposed ways that we might want to handle events on pseudo-elements. Either of these strategies could lend themselves to allowing setting focus, e.g.
* If we have a CSSPseudoElement, you can call focus on it.
* We could have a pseudoElement target string on the focus method.
* If there is a DOM element proxy for it you could call focus on this.

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


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

Received on Thursday, 11 September 2025 18:31:58 UTC