aria-grabbed attribute | ariaGrabbed property
Indicates the state of an element that's been selected in a drag-and-drop operation.
One of the following values:
Indicates that the element is selected for a drag and drop operation.
Indicates that the element supports drag and drop, but is not currently selected.
Indicates that the element does not support drag and drop.
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
|Used in Roles||
When the aria-grabbed attribute is set to
true it has been selected for dragging,
false indicates that the element can be grabbed for a drag-and-drop operation, but is not currently grabbed, and
undefined (or no value) indicates the element cannot be grabbed (default).
When aria-grabbed is set to true, you should also update the aria-dropeffect attribute of all potential drop targets. When an element is not selected for drag (the value is set to
undefined, or the attribute is removed), revert the aria-dropeffect attributes of the associated drop targets to none.