w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.14k stars 257 forks source link

alternative for dragging - on-screen keyboard #3999

Open gundulaniemann opened 4 months ago

gundulaniemann commented 4 months ago

All users should have the possibility to work with comparable efficiency. When it comes to alternatives for dragging motions, performing actions like copy and paste or dragging elements on a screen to a new place using the virtual keyboard makes the process much longer, so we do not recommend it as an alternative.

Nevertheless, when it comes to window resize, text area resize, table column resize or moving a splitter, exploiting the keyboard support via the virtual keyboard is immediate, more convenient and more efficient than any other alternative via menu or dialog can be.

On Windows, Mac, and Linux the keys like Shift, Ctrl, Alt stick for a further keypress, so that combinations like Ctrl+arrow-right can be performed with single clicks or taps.

Therefore the usage of a virtual keyboard is an adequate alternative for dragging to execute resizing operations.

Suggested change in the Understanding document: (Adding to the penultimate paragraph in the intent section): "Furthermore, for resizing operations like moving a splitter or resizing a text area, using a virtual keyboard is more efficient and more precise than another alternative might be. So, for windows resize, column resize, text area, and panel resize by moving a splitter, the on-screen keyboard provides a reasonable alternative via existing keyboard support in the page.