AccessKit / accesskit

Accessibility infrastructure for UI toolkits
https://accesskit.dev
BSD 3-Clause "New" or "Revised" License
1.04k stars 51 forks source link

Add UIA support for menus #27

Open mwcampbell opened 3 years ago

mwcampbell commented 3 years ago

This encompasses both menu bars and popup/context menus. These implement keyboard focus and selection much like list boxes. But menus have their own quirky events, and we'll need to make sure our implementation of these events works correctly with all of the Windows screen readers.

mwcampbell commented 3 years ago

I forgot a couple more patterns we'll need for these controls:

Menu items will need to conditionally implement the expand/collapse pattern, since some menu items are submenus.

Menu items will also need to conditionally implement the toggle pattern, since some can be checked like check boxes.