Skip to content

clarifying whether swipe is a path-based gesture #2116

@gundulaniemann

Description

@gundulaniemann

I seem to remember it was agreed in the working group that swipe is not a path-based gesture, and this is also what I read from the Understanding document of 2.5.1.
Nevertheless, when reading thoroughly several times and adding the dragging movements understanding document, I seem to come to a different conclusion.

In
https://www.w3.org/WAI/WCAG21/Understanding/pointer-gestures.html
it says:
"A path-based gesture involves an interaction where not just the endpoints matter. If going through an intermediate point (usually near the start of the gesture) also affects its meaning then it is a path-based gesture. The user engages a pointer (starting point), carries out a movement that goes through at least one intermediate-point before disengaging the pointer (end point)."

From this, I understand a swipe (which does neither have a definite intermediate point nor a defined end point) is not a path-based gesture.

Nevertheless further down, below Figure 1, it says:
"Examples of path-based gestures include swiping, sliders and carousels dependent on the direction of interaction, and other gestures which trace a prescribed path such as the drawing a specific shape."
So explicitly 'swipe' is mentioned as path based gesture.

In https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements
in the last paragraph of the intent it says
"Path-based gestures covered in Success Criterion 2.5.1 Pointer Gestures are pointer interactions that involve at least an initial directionality."

If the group agrees that swipe movements are path-based gestures, I suggest to make it clearer in the Understanding document of 2.5.1.
For better understanding, I suggest to take over the wording of an 'initial directionality'.
In addition, I feel, that neither sliders nor carousels are gestures, but they have gestures to control them.

So I suggest to replace the second sentence in the last paragraph of the intent with the following:
"If starting with an initial directionality or going through an intermediate point (usually near the start of the gesture) also affects its meaning then it is a path-based gesture."

I also suggest to replace the first sentence after Figure 1 by the following:
"Examples of path-based gestures include swiping, gestures to control sliders and carousels dependent on the direction of interaction, and other gestures which trace a prescribed path such as the drawing a specific shape."

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions