UIA focus is not returned back to menu item after closing dropdown #8432
Labels
tenet-accessibility
MAS violation, UIA issue; problems with accessibility standards
Milestone
.NET version
.NET 8.0.0-alpha.1.22622.1
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No
Issue description
Related to #7770.
After closing MenuStrip's submenu, UIA focus doesn't switch back to the top-level menu item, which may cause issues for screen readers.
Current behavior
In Narrator:
There is no announcement that focus is now on Project menu item after pressing Escape.
In JAWS:
After closing the dropdown, submenu is reopened and announced again as a context menu.
NVDA is similar to Narrator but focus moves to the whole window instead of staying on closed dropdown item.
Expected behavior
After dropdown is dismissed, top-level menu item is announced as currently focused item, and the focus highlight moves to it.
Steps to reproduce
The text was updated successfully, but these errors were encountered: