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

[WCAG 2.2 Draft Feedback] Success Criterion 2.5.7 Dragging Movements (Level AA) #2705

Closed
dshoukry opened this issue Oct 5, 2022 · 18 comments · Fixed by #2828
Closed

[WCAG 2.2 Draft Feedback] Success Criterion 2.5.7 Dragging Movements (Level AA) #2705

dshoukry opened this issue Oct 5, 2022 · 18 comments · Fixed by #2828

Comments

@dshoukry
Copy link

dshoukry commented Oct 5, 2022

“Success Criterion 2.5.7 Dragging Movements (Level AA): All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging, unless dragging is essential or the functionality is determined by the user agent and not modified by the author.”

Recommendation:
We kindly request that the group remove this SC until research is completed for all affected input modalities. We couldn’t find reasoning documented as to why "Success Criteria 2.1.1 Keyboard and 2.1.3 Keyboard (No Exception) require dragging features to be keyboard accessible. However, achieving keyboard equivalence for a dragging operation does not automatically meet this Success Criterion" from the Understanding documentation. We believe more considerations are needed for various platforms, and that there shouldn’t be an imposition of all mobile requirements on all desktop content. For example, responsive design techniques offer ways of adapting UIs to different screen sizes and mobile/desktop environments. Even with desktop environments that offer full touch screen input, they generally include ways of triggering keyboard shortcuts. There are also concerns about implications around interaction patterns for reordering list items and a large set of buttons per item, especially together with Target Size (Minimum).

This seems like an especially important area to have research, a diverse set of use cases, evidence of user impact, and a specific set of content structures to keep the SC beneficial, appropriately scoped, and attainable.

Please find detailed specifics covered in our Sep22 2.5.7 Dragging Movements (AA) Google Doc

@detlevhfischer
Copy link
Contributor

Proposed working group answer:
2.5.7 Dragging Movements does not address keyboard accessibility, so meeting 2.1.1 is a separate concern. That is why providing a keyboard-operable alternative for dragging movements does not meet 2.5.7, which is concerned with providing alternatives for single pointer activation for pointer users with motor impairments, both for touch input users and mouse users.
The Working Group believes that there is sufficient research and evidence of user needs to include the new SC.

@slauriat
Copy link

Regarding keyboard accessibility, the logic given comes across as "it doesn't count because we say so". I think if the Understanding documentation can frame this instead in terms of user needs and the reason why, for users, keyboard equivalents can't work for any device accessing the web, that would clarify things enough to cover that concern.

The Working Group believes that there is sufficient research and evidence of user needs to include the new SC.

The Understanding Dragging Movements documentation does not point to any research or evidence. If research and evidence exists to back this guidance up across everything on the web, then linking to that in the documentation should cover this concern.

@detlevhfischer
Copy link
Contributor

detlevhfischer commented Oct 26, 2022

@slauriat In answer to a request sent to several organisations of people with motor impairment I got email feedback from just one (Pfennigparade) where several users with motor impairment came together to discuss this and told us that they think the SC is useful and dragging is a pain for them. It seems this is not really suitable as reference to be linked to from the Understanding doc though. Would it help / make a difference if they publish a statement that can be linked to? I can ask them if they can.

I have repeatedly asked (implored?) WG members to reach out to relevant oganisations and/or to provide pointers to research to put this on a better footing. It seems nothing has turned up so far. This could indicate that there really isn't sufficient research, or even mean the user need is not so pronounced. So this could in turn mean that we drop the SC (if that is still an option). To my knowledge, the WG decided to go forward with it. I am easy both ways - I just wanted to get the ball moving by proposing a WG answer to this issue.

@slauriat
Copy link

Would it help / make a difference if they publish a statement that can be linked to? I can ask them if they can.

Absolutely! Full research would help the most in terms of backing up the specific guidance, but statements from representative organizations would still help in terms of offering at least something by way of evidence of impact to users.

I just wanted to get the ball moving by proposing a WG answer to this issue.

Very much appreciated! I just checked in on the ones @dshoukry filed for Google, saw your drafted responses, and wanted to clarify a couple of things for the Working Group's discussions about your drafted response.

@bruce-usab
Copy link
Contributor

bruce-usab commented Oct 26, 2022

the logic given comes across as "it doesn't count because we say so"

@slauriat — could you point to places in Understanding (or elsewhere) of this being the logic given?

In my experience, it is not uncommon for PWD who use trackballs or other adaptive pointing devices to be frustrated by a drag-and-drop UI, and being told to use the keyboard instead is not sufficiently responsive to their need.

Sometimes the impairment is fine motor function. Sometimes the impairment is cognitive. It is common tor most any visually-oriented / mouse-oriented user to resent being told they need to use a keyboard, but the limitation being only for PWD seems like an obvious gap that a11y standards might address.

There is also the category of end-users whose only access to a computer is, for example, an electronic head pointer. Their default UI is point-and-click only, perhaps with an on-screen keyboard. A subset of these users cannot point-and-drag and use a "dwell select" or maybe use their AT to switch modes (e.g., right-click, left-click-lock). The webpage directly supporting point-click (only) would be easier. Some people who use some of these pointer-only interfaces are not cognitively able to manage different mouse modes, so they only can use point-single-click UI.

There is no need for clinical trials or other hard research to know that 2.5.7 Dragging Movements closes an accessibility gap.

@bruce-usab
Copy link
Contributor

bruce-usab commented Oct 27, 2022

Here an example of the sort of product I have in mind: Origin Instruments HeadMouse Nano

When looking for that, I learned that OS X provides a way to Move the pointer using head pointer on Mac

Both of those provide mouse-pointer only. The user will need some way to click, but apps where the user can avoid the need for click-and-drag will be easier to use. The option to use the mouse, and not a mouse-controlled-keyboard, is important.

Another example is a large format trackball with ability switch input: AbleNet BIGTrack2

Someone for whom that specialized trackball is a good input modality probably has motor difficulties with switches such that click-and-hold-and-move-the-mouse-pointer is much harder than just point-and-click. For that person, using the keyboard input modality required to meet 2.1.1 is not a good option.

Again, 2.5.7 addresses a real-world accessibility issue not covered by 2.1 or 2.0.

@slauriat
Copy link

I don't personally doubt the user needs, the understanding documentation just doesn't make the user needs clear and it should before inclusion into WCAG.

@slauriat — could you point to places in Understanding (or elsewhere) of this being the logic given?

Detlev's drafted response, and this bit from the understanding documentation essentially says that because other things in WCAG cover keyboard interactions, meeting those keyboard interactions doesn't automatically meet this new SC.

Relationship to other requirements
Success Criteria 2.1.1 Keyboard and 2.1.3 Keyboard (No Exception) require dragging features to be keyboard accessible. However, achieving keyboard equivalence for a dragging operation does not automatically meet this Success Criterion; it is possible to create an interface that works with dragging and keyboard controls that does not work using only clicks or taps.

Keyboards work in tapping keys. The user needs you described in this github comment seems like great examples to include in the understanding documentation, with links to research or evidence of some kind (statements from representative groups like Detlev mentioned, documented flows of interaction modalities in relation to keyboards, whatever works) as to how on screen keyboards, scripting of the AT, etc. doesn't make for an acceptable mechanism and, as such, keyboard accessibility doesn't help for these user needs.

Hope that helps! Also happy to talk through these suggestions in more detail with the group.

@bruce-usab
Copy link
Contributor

Thanks @slauriat as I think this is good constructive criticism for improving both Understanding and @detlevhfischer Proposed working group answer.

@alastc
Copy link
Contributor

alastc commented Dec 6, 2022

I don't personally doubt the user needs, the understanding documentation just doesn't make the user needs clear and it should before inclusion into WCAG.

I've attempted to do that in #2828. I've focused on the introduction area at the top. The "relationship to other requirements" leads on from that, and is focused on interpretation of the SCs rather than the direct user-need.

The user needs you described in this github comment seems like great examples to include in the understanding documentation, with links to research or evidence of some kind (statements from representative groups like Detlev mentioned

The understanding documents are supposed to be how-to guides, they don't include the background research. The group and interested stakeholders should be satisfied that it exists and is appropriate, but it would be inconsistent (and very long) to include in the understanding documents. We can document those elsewhere, such as the WG Wiki.

@alastc
Copy link
Contributor

alastc commented Dec 6, 2022

Approved working group answer (from Detlev's and others above):


The standard is missing an exception for a keyboard interface, as it requires a pointing device. If the dragging motion is not essential for operation, then keyboard users should also be able to perform the action.

The SC does not require a pointing device, but if dragging is enabled then, by definition, the content is supporting a pointing device.

It is possible for web content to meet 2.1.1 and fail 2.5.7. Some interfaces support drag & drop with a pointer and support selection and movement with the keyboard. They may not support selection and movement by single-taps.

Google drive is a good example, where you can select an item and go through the process of moving it by tapping on the context menu and "move to", without using the keyboard or dragging.

PR #2828 attempts to make this aspect clearer in the understanding document.

What is the reasoning behind this [relationship to 2.1.1]? Mobile could be a reason for this, but that depends on the platform and should not impose all mobile requirements on all desktop content.

2.5.7 is concerned with providing alternatives for single pointer activation for pointer users with motor impairments, both for touch input users and mouse users. That part of the document is saying that it should be evaluated separately from keyboard accessibility. The first line of the intent is intended to convey that aspect.

Reordering items in a list would require a bit of a large set of buttons per item, especially together with the Target Size (Minimum) SC.

This has not impacted the implementations we've looked at. For example, trello uses a standard drop-down:
Screenshot from trello showing a 'move card' dialogue with a drop-down showing 11 numbers.

That type of dialogue uses a standard drop-down so would pass target size, and it should scroll if needed. Another option is to provide a text input (which should reliably trigger an onscreen keyboard). That could be a simple number, or the more advanced version in Google drive.

The Working Group believes that there is sufficient evidence of user needs to include the new SC. It is logical based on how the interactions using specialised pointers work, and feedback from users at Pfennigparade.

@GreggVan
Copy link

GreggVan commented Dec 6, 2022 via email

@GreggVan
Copy link

GreggVan commented Dec 6, 2022 via email

@alastc
Copy link
Contributor

alastc commented Dec 6, 2022

So research results would be in the Understanding WCAG - showing how we came to the wording, numbers, etc. gregg

That isn't what I can see in the 2.0 docs, they don't include the research into why the requirement exists. Even in the links of the resources section, things like colour contrast, non-text content, keyboard don't include research into why those are issues.

I had assumed that was because the understanding docs were aiming to summarise what people needed to know in order to understand and implement the SC (expanded by the techniques), rather than how the requirement was created in the first place.

@bruce-usab
Copy link
Contributor

I agree that Understanding does not include research into why those are issues. I agree that how the requirement was created in the first place is not useful.

On the other hand, we sometimes do go into the weeds. For example, from color contrast, rationale for the ratios chosen.

@GreggVan
Copy link

GreggVan commented Dec 6, 2022 via email

@alastc
Copy link
Contributor

alastc commented Dec 6, 2022

This is going on quite a tangent, but I'll note that colour contrast is the only one that goes "into the weeds" like that, the exception that proves the rule?

For dragging, it follows from people needing alternative pointer inputs and not having (easy) access to keyboard equivalents. Also people with motor impairments struggling with accuracy on touch screens.

I think this would be in the category of "They do not have research for values since there is no value per se for including alternatives or not.". Where dragging is required, it triggers problems.

@GreggVan
Copy link

GreggVan commented Dec 11, 2022 via email

@bruce-usab
Copy link
Contributor

Note to self from call 1/31 – keyboard alternative/emulation provided by platform (and thus which is easy to rely upon) is acceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants