Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Modern, accessible draggable list?
1 point by tdeck on July 12, 2020 | hide | past | favorite | 2 comments
I'm working on a side project that allows people to reorder items in a long list¹. I've been using html5draggable, which works fine. But I don't want to neglect accessibility in my project.

Unfortunately, I can't seem to find an accessible draggable list library out there except for Dragon Drop (https://github.com/schne324/dragon-drop) which is based on the old Dragula library and isn't usable on mobile². Before I try modding together my own thing, I wondered if anyone on HN knew of an alternative. Things I've tried so far:

- html5sortable

- SortableJS

- drag-on-drop

- Draggable JS

- Draggabilly

- table-dragger

¹ Pairs of residency programs, in case you were curious.

² Specifically it's slow, and dragging an item causes the page to scroll




If your list is one-dimensional (not a grid), this should meet your requirements: https://github.com/atlassian/react-beautiful-dnd


I'll definitely try that out, thank you!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: