Skip to content

Commit 5f878c0

Browse files
committed
Add an accessibility considerations appendix
As suggested by APA while discussing w3c#6351
1 parent b6e5e1c commit 5f878c0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

css-scrollbars-1/Overview.bs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,31 @@ or on overflowing elements with scrollbars in the page.</p>
402402
<p>No.</p>
403403
</li>
404404
</ol>
405+
406+
<h2 class="no-num" id="accessibility-considerations">Appendix D. Considerations for accessibility</h2>
407+
408+
This appendix is <em>informative</em>.
409+
410+
As noted [[#scrollbar-width|in the definition of the property]],
411+
authors need to be mindful of the accessibility implications
412+
of using ''scrollbar-width: thin''.
413+
Scrollbars are a important piece of the user agent's interface,
414+
and it is not appropriate for a web site author to change their size over aesthetic considerations.
415+
The property is available to support cases
416+
where the author wants to indicate that in a cramped area of the web page
417+
a thin scrollbar would be a more effective use of space.
418+
However, ultimately, the user, through their user agent,
419+
needs to have the last word on such things.
420+
421+
Using this property in such cases is preferable to
422+
authors building a custom thin-looking scrollbar in via script or proprietary extensions,
423+
because it does give the user the opportunity to override it.
424+
425+
[=User style sheets=] do provide such an override,
426+
and additionally, user agents are encouraged to expose a setting
427+
letting users express that they do not want thin scrollbars to be used.
428+
429+
The CSS Working Group also acknowledges the needs of some users
430+
to have scrollbars that are wider than is typical.
431+
Operating systems and user agents can offer a means to let users express that preference,
432+
and in such cases, CSS will honor that choice.

0 commit comments

Comments
 (0)