draggable icon indicating copy to clipboard operation
draggable copied to clipboard

No keyboard accessibility = please add DO NOT USE ALERT

Open MarcusMorba opened this issue 1 year ago • 2 comments

As the project does not offer any keyboard accessibility, please add a highly visible aler, that especially new projects should not use the library at all and old project need to replace the functionality.

Latest by June 28th 2025 webshops selling in the EU need to be accessible by law: https://ec.europa.eu/social/main.jsp?catId=1202&intPageId=5581&langId=en

Thanks.

MarcusMorba avatar Jan 22 '24 14:01 MarcusMorba

Keyboard accessibility can be added with a custom sensor plugin. There was a commit made a while ago that didn't make it into the project which serves as a good template for implementing keyboard accessibility: https://github.com/Shopify/draggable/commit/5360c32c9b4638d99e321d88c90eb8db7c43604a

Additionally, there's the Focusable, and Accouncement plugins, which makes this arguably the most accessible vanilla js dnd library.

tlietz avatar Mar 15 '24 06:03 tlietz

Thanks for the response. Also saw the "Accessible COMING SOON"-section on the webpage. As soon as "coming soon" has been removed, this issue could be closed.

besides that - also due to raising awarness - I would recommend to add "accessibility" as 1st item topic on the documentation and example sites with a little more documentation about sensor and the other plugins.

Thanks in advance.

MarcusMorba avatar Jul 30 '24 07:07 MarcusMorba