accessible-menu icon indicating copy to clipboard operation
accessible-menu copied to clipboard

Feat: Menu shelves

Open NickDJM opened this issue 10 months ago • 0 comments

Summary

Menu shelves/drawer menus have been super popular with clients lately. It would be nice to support them.

This most likely wouldn't be an out-of-the-box thing. It probably would need to be a separate package. I foresee something like:

new AccessibleMenuShelf({
  shelfElement: <HTMLElement>,
  shelfController: <HTMLElement>,
  menus: <DisclosureMenu[],Menubar[],TopLinkDisclosureMenu[],Treeview[]>,
});

Could have multiple menus in it and have some event listeners to allow keyboard shortcuts to move between multiple menus? I'm not 100% sold on that particular feature, but still.

Solution

TBD

Alternatives

TBD

NickDJM avatar Apr 10 '24 14:04 NickDJM