-
Notifications
You must be signed in to change notification settings - Fork 266
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
2.5.8 Target Size "overlapping any other target" does not work #3050
Comments
When we discussed it, I think the idea was that anything overlapping / overlapped would not be covered by the exception. The principle being that if they overlap, there is no spacing. So for each of the H1-4 targets, none would use the exception. The targets in H4 foreground would pass (assuming more than 24px), but not the background one. I see the issue of 'overlapping' not really being a thing for our definition of target. I don't think switching to UICs would work, and it would open up a lot of other possibilities that we haven't considered. The most likely alternatives are:
However, as (I think Dan) previously pointed out, that means we couldn't use the exception to allow for adjacent buttons with rounded corners. I know we looked at using circular measure before, and there were issues with that approach. From memory, I think it was mostly for the exception. It would be a normative change, but what about:
|
Suggestion from the WCAG 2.x meeting:
|
The latest CR draft introduced this wording in 2.5.8 Target Size:
I think this wording mixes "targets" and "user interface components". While UICs can often be stacked, a target is simply whatever region of the display responds to a pointer event. If the UIC is partially obscured, it reduces the target size, it isn't "overlapped". That's important, because we don't want people claiming a target passes because its 24x24 in size, while most of it is obscured.
The reason "overlapping" was added I think, was to address my H4 example, which feels like it shouldn't pass, but in the previous definition it did:
https://codepen.io/wilcofiers/full/abZxPow
The problem though, even if we ignore that it's the UICs that overlap, not the target, is that the element that passes but shouldn't is not actually the element that is "overlapping". The element is "overlapped", it has things on top of it, but it isn't overlapping other UICs.
So the problem that this change in wording tried to solve isn't solved at all.
The text was updated successfully, but these errors were encountered: