Dela via


Supporting drag-and-drop operations

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

Accessibility support for drag-and-drop operations is not fully supported for Windows Runtime apps using JavaScript. The Accessible Rich Internet Applications (ARIA) properties involved aren't mapped to Microsoft UI Automation (see Mapping ARIA properties to UI Automation). The WinJS ListView doesn't emit these properties to the DOM when used for items reorder or other drag-and-drop operations. For HTML5 in general, you can use standard ARIA markup to express drag-and-drop scenarios in your apps, including the aria-grabbed and aria-dropeffect attributes.

Note  WinJS ListView for Windows Phone Store apps doesn't have built-in drag-and-drop support.

ListView.itemsReorderable property