dotnet / dotnet/winforms

UI automation support for drag-and-drop

Open
#10,705 2 comments 1 reaction 0 assignees View on GitHub
tenet-accessibility
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

### .NET version

9

### Did it work in .NET Framework?

No

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

_No response_

### Issue description

UI automation defines two control patterns for supporting drag-and-drop scenarios that expose information assistive technology can use to help an accessibility user complete a drag-and-drop operation.
https://learn.microsoft.com/en-us/windows/win32/winauto/ui-automation-support-for-drag-and-drop

I would like to ask whether there is any interest in implementing the [Drag](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingdrag) and [DropTarget](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingdroptarget) control patterns in effort to make drag-and-drop more accessible.

![AIWin_DragPattern_DropTargetPattern](https://github.com/dotnet/winforms/assets/5017479/e9d61913-bfa6-481e-94bf-a2485107f432)

### Steps to reproduce

Use AIWin Live Inspect to see that Drag and DropTarget control pattern properties do not exist.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.