aria-dropeffect
Token listDeprecatedDescribed what would happen — copy, move, link, or execute — when a dragged item was dropped on the element. Part of the same unsupported drag-and-drop model as aria-grabbed — prefer modern accessible drag-and-drop with clear instructions and status messages.
Values
- none (default)
- No operation can be performed on drop.
- copy
- A duplicate is made on drop.
- execute
- A function is performed on drop.
- link
- A reference is created on drop.
- move
- The source is moved on drop.
- popup
- A menu of drop options is shown (deprecated).
Used on
Any HTML element —
aria-dropeffect is a global property.Associated roles
Every ARIA role. As a global property,
aria-dropeffect is supported on all roles.Example
aria-dropeffect="…"
<div aria-dropeffect="move">Drop zone</div>References