.NET 7 MAUI CollectionView item's context menu is not invokable via a Narrator screen reader touch gesture
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 296
Description
### Description
Run the demo app listed in the Steps to Reproduce section below. Verify that a right-click with the mouse or long-press with touch on an item in the CollectionView in the app results in the item's context menu appearing. However, a Narrator touch gesture for invoking a context menu does not result in the item's context menu appearing. This means customers will be blocked from accessing whatever functionality is only available via the context menu.
The Narrator gesture for invoking a context menu is listed at https://support.microsoft.com/en-us/windows/chapter-6-using-narrator-with-touch-60f8f38b-23fa-ebe2-4345-c900d1b2e22f.
### Steps to Reproduce
1. Run the demo app at https://github.com/gbarkerz/MauiAppTest2.
2. Move Narrator to one of the items in the context menu, and perform the two-finger double-tap gesture.
Expected: The item's context menu appears.
Result: No context menu appears.
Note that the Narrator touch gesture does work when the context menu is set on a Label outside the CollectionView. Note also that if the CollectionView itself has the context menu, and Narrator is positioned at one of the items, then the Narrator gesture results in the context menu appearing near the item. However, it doesn't seem possible to access that item itself when the context menu appears or the context menu's item is invoked.
### Link to public reproduction project repository
https://github.com/gbarkerz/MauiAppTest2
### Version with bug
7.0 (current)
### Last version that worked well
Unknown/Other
### Affected platforms
Windows
### Affected platform versions
net7.0-windows10.0.19041.0
### Did you find any workaround?
No.
### Relevant log output
_No response_
Contributor guide
Research direction
Start by running the MauiAppTest2 reproduction on Windows with Narrator and compare the two-finger double-tap on a CollectionView item with mouse right-click and touch long-press. Trace the .NET MAUI CollectionView item context-menu and Windows accessibility entry points; done means the Narrator gesture opens and allows interaction with the item's context menu without breaking the other invocation methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100