Skip to content
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

Definition of "dragging movements" in mobile context #65

Open
JJdeGroot opened this issue Aug 7, 2024 · 1 comment
Open

Definition of "dragging movements" in mobile context #65

JJdeGroot opened this issue Aug 7, 2024 · 1 comment

Comments

@JJdeGroot
Copy link
Member

In the meeting of 7 August, the definition of dragging movements came up.

WCAG definition of "dragging" covers almost any gesture on mobile because it refers to "down" (i.e. touching screen) and "up" (i.e. lifting finger) events.

  • This seems to apply to anything you do on mobile, this could be too broad to be usable.
  • The Understanding documents is non-normative, only WCAG language is binding.

dragging movements definition

an operation where the pointer engages with an element on the down-event and the element (or a representation of its position) follows the pointer until an up-event

down-event definition

platform event that occurs when the trigger stimulus of a pointer is depressed

The down-event may have different names on different platforms, such as "touchstart" or "mousedown".

up-event definition

platform event that occurs when the trigger stimulus of a pointer is released

The up-event may have different names on different platforms, such as "touchend" or "mouseup".

Understanding 2.5.7 Dragging Movements

When an interface implements functionality that uses dragging movements, users perform four discrete actions:

  1. tap or click to establish a starting point, then
  2. press and hold that contact while...
  3. performing a repositioning of the pointer, before...
  4. releasing the pointer at the end point.

The understanding guidance is more detailed compared to the normative definition of dragging movements.

@JJdeGroot JJdeGroot added the documentation Improvements or additions to documentation label Aug 7, 2024
@JJdeGroot
Copy link
Member Author

Perhaps the "the element (or a representation of its position) follows the pointer" part excludes simple swiping/scrolling gestures? Because the element does not follow the pointer, it's the container element that changes it's scroll position.

cc @jha11y

@JJdeGroot JJdeGroot added definition and removed documentation Improvements or additions to documentation labels Oct 9, 2024
@JJdeGroot JJdeGroot changed the title Definition of "dragging movements" in context of mobile Definition of "dragging movements" in mobile context Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant