-
Notifications
You must be signed in to change notification settings - Fork 269
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
add definition for “path-based gesture” for 2.2 #758
Comments
I believe this definition as it stands is not helpful in understanding operational path-based gestures. The tricky thing here it to nail down what "depends on the path of the user's movement" exactly means. See, for what I consider a misunderstanding, the end on yesterday's telco. There was a quote from a definition of "path-based gesture" (which I had provided, possibly modified a bit by Alastair) that I intended to depart from the "start- and end point" language (which I find hard to understand when used in relation to operational pointer gestures). Here is @awkawk quoting it:
Maybe it doesn't come out clearly in my use of pre-determined direction, but what I wanted to capture was that it is the intent, the determination of the user to make a directional gesture (following the affordances of an element, e.g. the constraint of a slider that can only move horizontally) that is central here - not whether the author implements the gesture in a way that it only works within certain constraints that are neither usually obvious nor necessarily important to the user. So I still think it is important for a fitting definition of path-based gesture to capture directional user intent (as prefigured in the affordances / constraints in sight and experienced in interface feedback when performing the pointer gesture) - whatever the wording we come up with. Based on this definition, directional drag would then be in scope regardless of wayward, parabolic or other movements due to users inability to perform a decisive straight path. We might need better language than my "pre-determined" to make the meaning of the definition clearer. |
We have essentially been working on this in PR #714 (preview), based on the discussion on Tuesday the understanding description has:
With a lovely diagram that I hand-crafted myself on an iPad ;-) If that is sufficient and gets approved, we can close this. If you'd rather we add a definition to the glossary we'll label it as WCAG 2.2 and incorporate that definition into the glossary as part of that work. |
@alastc in your update you say a swipe gesture is a path based gesture (which I agree with) -- but I'm trying to understand how it matches the intermediate point criteria. In some samples I have seen on the Internet people are simply looking for a change in direction from the touch start location to the last touch move location (which is calculated on touch end). Maybe the platform creators do this differently than hacky devs -- but it feels like swipes are really just about the offsets of start and ending points with some tolerance for deviance of 30-60 pixels. So swipes aren't really about the start and end points but the delta within tolerances. |
I've answered that in #714, I'd rather keep this thread to discussion of whether we have an official glossary definition. |
Hi @jake-abma, do you still feel we need an official definition, or is the understanding doc now covering that? If you do, could you have a look at the understanding doc and consider what a concise definition might be? I struggled to say it in less words that we have there! |
@alastc if we never, ever, use it in another place it would be fine, otherwise will you refer to 2.5.1 Understanding in future for explanation? In that case this one probably deserve a spot in the glossary. |
@alastc already spotted one: https://www.w3.org/TR/WCAG21/#dfn-single-pointer :-) |
So to give some perspective, if you have interest in 2.5.2 and stumble upon "single pointer" you probably end up not understanding what path bases gesture means. |
i'd agree it needs to be normative in the main definition section, rather than informative in the understanding doc |
Ok, so cutting down the understanding doc paragraph a bit, how about:
|
Can we add @alastc suggestion to a survey? |
This was discussed at the meeting this week. There was concern about the process needed to add the definition. That's do-able, but would require an errata for 2.1. Also, there was a suggestion the same defintion could apply to "depends on the path of the user's movement" in 2.1.1. We'll revisit later. |
w3c/wcag21#478 (comment)
“path-based gesture” with a definition of: “User input that depends on the path of the user's movement and not just the endpoints.”
The text was updated successfully, but these errors were encountered: