Re: [csswg-drafts] [css-ui] `interactivity: focusable` (#13040)

I have to reiterate what Sarah and Jeffrey say, especially the point about considering the appropriate place which to introduce the solution to this problem. 

For example, I've recently worked on a project where I need to implement  horizontal scrolling containers that are only horizontally scrolling conditionally, the intent is that they are scrollable on mobile and not on desktop. At first, it appears like the exact scenario as mentioned in the original post, and I'd love a way to make these focusable without relying on JS observing if the container is scrollable. 

However, there are often extenuating conditions that whether or not this element is scrollable difficult to ascertain from just CSS alone. For example, if there aren't enough items to fill the container, then this container shouldn't scrollable. It's pretty clear to me that something like this is better handled on the browser level (see this [Interop ](https://github.com/web-platform-tests/interop/issues/1089) proposal) before we give developers additional footguns.

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


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

Received on Wednesday, 5 November 2025 23:59:08 UTC