Skip to content

Commit 1536c88

Browse files
committed
[css-scrollbars] Improve wording around minimumm thickness of scrollbars
See w3c#3315
1 parent ec9625c commit 1536c88

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

css-scrollbars-1/Overview.bs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,16 @@ the desired thickness of an element’s scrollbars.
194194
<dd>Implementations must use the default platform scrollbar width.
195195
</dd>
196196
<dt><dfn>thin</dfn></dt>
197-
<dd>Implementations should use thinner scrollbars than ''scrollbar-width/auto'' when applicable.
197+
<dd>Implementations should use thinner scrollbars than ''scrollbar-width/auto''.
198198
This may mean a thin variant of scrollbar provided by the platform,
199199
or a custom scrollbar thinner than the default platform scrollbar.
200+
The scrollbar should nonetheless remain wide enough to be usable.
201+
(Implementers may wish to consult
202+
<a href="https://www.w3.org/TR/WCAG21/#target-size">WCAG 2.1 SC 2.5.5 Target Size</a>. [[WCAG21]])
200203

201-
Note: Some platforms may only have a tiny scrollbar by default
202-
which cannot be or makes no sense to make thinner.
203-
In that case, implementations may treat this value as ''scrollbar-width/auto''.
204+
Note: Some platforms <del>may</del> only have a tiny scrollbar by default
205+
which cannot be reasonably made thinner.
206+
In such cases, this value will behave as ''scrollbar-width/auto''.
204207
</dd>
205208
<dt><dfn>none</dfn></dt>
206209
<dd>implementations must not display any scrollbar, however the element's scrollability is not affected.
@@ -209,10 +212,6 @@ In that case, implementations may treat this value as ''scrollbar-width/auto''.
209212

210213
UAs must apply the 'scrollbar-width' value set on the root element to the viewport.
211214

212-
UAs should enforce a minimum actual size of scrollbar width per
213-
<a href="https://www.w3.org/TR/WCAG21/#target-size">WCAG 2.1 SC 2.5.5 Target Size</a>
214-
[[WCAG21]].
215-
216215
Authors that use ''scrollbar-width/none'' should provide an alternative/equivalent visual hint that
217216
scrolling is possible and there is more content.
218217
For situations where an element is going to be scrolled by other means instead of direct user manipulation

0 commit comments

Comments
 (0)