ARIA Sortable Listbox Module Demo
The ARIA Sortable Listbox Module dynamically converts standard list markup into a keyboard accessible sortable listbox control.
setup.js : The setup script that configures ARIA Listbox and Grab functionality.
For specific coding guidance, view the
AccDC Technical Style Guide
ARIA Sortable Listbox Demo
Press Enter on the edit field or activate the Add button to add a new list item;
Activate Clear to empty the list, or activate Sort to toggle sortability of the list.
Using the mouse, click a list item to make a selection,
then click any other list item to move the selected item to that location.
Using the keyboard, use the Up/Down/Home/End keys to navigate listed items.
Press the Spacebar to grab the selected item for moving;
Press the Spacebar again after navigating to another location to move the grabbed item.
Press Delete on a selected item to remove it from the list.
Press Escape to cancel a previous grab action;
Press Escape again or press Enter to close the listbox and disable sortability.