salesforce-ux / dnd-a11y-patterns

Examples of accessible drag-and-drop patterns

Home Page:https://salesforce-ux.github.io/dnd-a11y-patterns/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessible Drag-and-Drop

Examples of drag-and-drop patterns that are accessible via mouse, keyboard, and screen reader. The examples use React.

Read more about these interaction patterns in Jesse Hausler's "4 Major Patterns for Accessible Drag and Drop" post on the Salesforce UX blog. Try them out yourself at https://salesforce-ux.github.io/dnd-a11y-patterns/ (docs + demos) or https://salesforce-ux.github.io/dnd-a11y-patterns/#/demo (standalone demos).

Installing

npm install

Running

Launch the examples locally:

npm start

This starts a local server at http://localhost:3000/.

Resources

This project was cloned from universal-drag-and-drop-examples and bootstrapped with Create React App. It uses recommended styles, markup, and interaction patterns from Salesforce's Lightning Design System.

About

Examples of accessible drag-and-drop patterns

https://salesforce-ux.github.io/dnd-a11y-patterns/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 92.2%Language:CSS 6.0%Language:HTML 1.8%