Provide a general summary of the feature here
Support focus callbacks for collections components (e.g. MenuItem).
🤔 Expected Behavior?
When a MenuItem (or other collection component) is focused via keyboard, a focus callback should be fired.
😯 Current Behavior
Currently, MenuItem does not support focus callbacks but does support hover callbacks, so this would enable both mouse and keyboard/voiceover accessibility.
💁 Possible Solution
No response
🔦 Context
When mouse hovering or keyboard arrow key navigating through a menu collection, a preview of some sort may want to be displayed with the currently highlighted menu item. While this is possible with the mouse (via hover callbacks), the focus callbacks would enable this for keyboard/voiceover.
💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Provide a general summary of the feature here
Support focus callbacks for collections components (e.g. MenuItem).
🤔 Expected Behavior?
When a MenuItem (or other collection component) is focused via keyboard, a focus callback should be fired.
😯 Current Behavior
Currently, MenuItem does not support focus callbacks but does support hover callbacks, so this would enable both mouse and keyboard/voiceover accessibility.
💁 Possible Solution
No response
🔦 Context
When mouse hovering or keyboard arrow key navigating through a menu collection, a preview of some sort may want to be displayed with the currently highlighted menu item. While this is possible with the mouse (via hover callbacks), the focus callbacks would enable this for keyboard/voiceover.
💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response