jquery-sortable icon indicating copy to clipboard operation
jquery-sortable copied to clipboard

Accessibility: Keyboard support

Open derikb opened this issue 10 years ago • 1 comments

Not sure I have the skills to contribute code for this (though I'll give it a try), but it would be great for accessibility if there were support to use the keyboard to sort items. You'd have to add the ability to focus on the sortable elements with tabindex=0 and then add some event delegation for keyboard commands to move the selected element. Probably arrow keys to move items up/down/left/right.

derikb avatar Jan 27 '16 20:01 derikb

Like to say that this is a big issue.

There's a discussion about best practices for adoption within Drupal 8: https://www.drupal.org/project/drupal/issues/2920006

But lots of people are working on this on various projects.

By looking at the demo there are a bunch of accessibility problems, but the lack of keyboard controls is an important one.

https://johnny.github.io/jquery-sortable/

mgifford avatar Dec 16 '17 16:12 mgifford