Re: [csswg-drafts] [css-overflow] Infinite scrolling (#5411)

Came here from [the carousel explainer](https://github.com/flackr/carousel/blob/20115b8b890f51b141c703bd679c293f259c70f2/README.md). I was wondering if this might bring some accessibility issues along with it.

Imagine having a cyclic overflow with links in it:

1. How will a keyboard user be able to escape a cyclic overflowing container? Will it just visually overflow?
2. If the item is fragmented as in the example above is this one item and focued on both fragments?

Comments independet of focusable elements:

1. Is an `::after` enough to be used as kind of an indicator to show that a new cycle is starting and the conent starts to repeat itself?
2. I really like the idea but I'm not sure if it does not bring more potential harm then benefit. It feels like there is a high risk of people using it incorrectly and therefore e.g. block scrolling on their page because of > 100vb high element with `overflow-y:  infinite`.

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


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

Received on Monday, 10 June 2024 16:28:16 UTC