[csswg-drafts] [css-overflow-5] Default UA styles for scroll markers and scroll buttons (#10935)

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

== [css-overflow-5] Default UA styles for scroll markers and scroll buttons ==
When developers create scroll markers and scroll buttons, they should provide good default UA styles to be accessible and usable. With nothing spec'd it takes a lot of styles to get these controls usable.

I propose, scroll buttons be styled like buttons by the UA stylesheet. I'd suggest copying the UA button styles, including pseudo-class states (e.g. `:focus`).

Scroll markers behave as links, and as such I think should use the UA link styles. `:visited` will never apply to pseudo-element scroll markers, so that part can be skipped.

I think `::scroll-marker-group` should have a specified size large enough to fit a line of `::scroll-marker` elements, perhaps scrolling by default if the list is too large.

The end goal is that with no specific styling applied these controls should all work reasonably without any particular styling attention.

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


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

Received on Monday, 23 September 2024 15:14:37 UTC