- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Sat, 10 Aug 2024 00:37:06 +0000
- To: public-css-archive@w3.org
To me, this seems to fit more to HTML. Scroll buttons cause an action (scroll up or down) on an element, which is similar to the `popovertarget` attribute in relation to elements with the `popover` attribute. So we might introduce an attribute like `scrolltarget` that indicates which element to scroll and another one that determines the direction and maybe the amount like `scrollby` (with values like e.g. `pageup`, `pagedown`, `lineup`, and `linedown`) that determines where the element is scrolled to. Doing so requires more markup, though also gives users more control over it. E.g. they could provide multiple scroll buttons. This also allows for better accessibility by applying appropiate ARIA information. And there wouldn't be any styling constraints. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10722#issuecomment-2278910141 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 10 August 2024 00:37:07 UTC