[csswg-drafts] [css-scrollbars] Add `thick` value to `scrollbar-width` (#10650)

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

== [css-scrollbars] Add `thick` value to `scrollbar-width` ==
As [noted in the specification](https://drafts.csswg.org/css-scrollbars-1/#scrollbar-width), authors should generally refrain from overwriting the scrollbar width besides supporting specific UX goals. And @tabatkins [pointed out](https://github.com/w3c/csswg-drafts/issues/6263#issuecomment-855015739) that implementers object to add support for custom widths.

Though as outlined by several people in #6263, there's the use case of accessibility for having wider scrollbars.

The `auto` refers to the OS or UA settings, which is ok for most cases. Though if neither the OS nor the UA provide settings to change the width, users are stuck with the default width as the maximum.
Also, authors may want to emphasize the possibility to scroll and element.

Therefore, I suggest to add a new value `thick` to `scrollbar-width` that aligns with the definition of `thin` but makes the width thicker than `auto`.

The concrete spec. text might read like this:

`thick`
Implementations should use thicker scrollbars than `auto`. This may mean a thick variant of scrollbar provided by the platform, or a custom scrollbar thicker than the default platform scrollbar.

Sebastian

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


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

Received on Wednesday, 31 July 2024 21:04:49 UTC