-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target Size (Min) and custom scrollbars #3963
Comments
I'd say that fails, yes |
That's where I'd landed as well. Barring any naysayers, worth adding this as an example to the Understanding page? |
will need to be very clear that it's failing because the author changed the presentation of the scrollbar explicitly. otherwise it's UI rendered by the browser and outside of the author's responsibility |
Yup, that's the reason I raised the issue—specifically because it's a customized scrollbar rather than the browser default :) |
“You touch it, you own it.” |
As it is a matter of size, only the size manipulation causes the fail. In the example above the size was changed. If adding an according example to the UNderstanding document, only the size should be changed to avoid any misunderstandings. |
I don't mean to hijack this issue, please let me know if I should open a new one but... I'm confused about this spec, as described in this issue as well as the spec itself. The goal is described as: "Having targets with sufficient size - or at least sufficient target spacing - can help all users who may have difficulty in confidently targeting or operating small controls." Yet the spec actually doesn't limit the target size but the area around the target. Even a 1px wide scrollbar would fulfill the spec, as long as there's enough space around it. This doesn't help the users described in the "benefits" section? |
Perhaps it should be clarified that the goal is to prevent accidental activation of other nearby targets. |
Ah, I see. Is being able to activate something, period, covered by any spec? (I got here via https://drafts.csswg.org/css-scrollbars/#scrollbar-width - which seems to be quite a blow to accessibility. And it might've been wrong of them to link to this spec (Well... AAA, which requires an even bigger target but... that's a finer point) then?) |
@s-h-a-d-o-w 2.5.5 does not allow for any exceptions in terms of spacing. Also, keep in mind that the note is aimed at implementers (i.e. browser developers that are implementing the spec in their product) |
which is the target spacing, which is covered in the bit you quoted just before "Having targets with sufficient size - or at least sufficient target spacing ..." |
Alright, unfortunate (since it means I will have to continue fighting thin scroll bars on my own 😅) but thanks a lot for the explanation! |
If an author has customized a page's scrollbar and the page design has links that abut the scrollbar, does that fail Target Size (Minimum)? Here's an example CodePen (works in Firefox and Chromium). The scrollbar's track is 11px wide and the thumb is 4px wide.
A 24px circle placed over the scrollbar shows that the two targets intersect:
The text was updated successfully, but these errors were encountered: