Re: [csswg-drafts] [css-scrollbars] `scrollbar-width` should support custom measurements (#6263)

> This property originally just took a length, exactly as you suggest. During review, multiple browser implementors objected to allowing arbitrary sizes, as it would interfere with usage of the browser-default scrollbars. The current three-value design is a compromise allowing _some_ control (particularly for the primary requested use-case, narrow scrollbars) while still respecting the implementor's objections.

With all due respect, Chromium browsers are doing just fine with their approach that allows the width to be a custom value. I think there's a huge accessibility issue by not allowing the width to be widened, since on Mac and most Linux distributions, there's virtually no difference between thin and auto. This is detrimental for users with certain accessibility needs, as it's a pretty small target to hit.

At the very least, there needs to be another option added that's simply "wide" and is displayed at about 15px wide. The current "auto" option is inconsistent between platform. Having a "wide" option that's a standardized size (much like "thin") would perhaps be a better compromise to allowing custom width.

Having a project that works directly with the scrollbars, I can say that the lack of support for custom widths (or even consistent widths) is a complaint I get on a nearly daily basis.

I sincerely think that W3C's approach on this issue should be re-evaluated.

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


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

Received on Saturday, 5 June 2021 02:24:40 UTC