FASTListbox should support a new FASTOptgroup component, which will be used to define groups of related options. The component should visually distinguish the option group label from the individual options, and the option group label should not be selectable or focusable. Keyboard navigation should be updated to accommodate option groups.
π― Current Behavior
Currently, the FASTListbox component supports adding individual FASTOption elements, but there is no built-in support for option grouping.
π Possible Solution
Implement a new FASTOptgroup component.
Extend the FASTListbox component to accept FASTOptgroup components as children.
Update the keyboard navigation to support option groups.
Ensure the implementation adheres to WAI-ARIA best practices for option groups.
Update documentation to include examples and guidance for using the new FASTOptgroup component.
π¦ Context
Option grouping can help users navigate through long lists of options more easily by visually grouping related options. It can also improve the accessibility and user experience of the FASTListbox component. Implementing this feature will enhance the functionality and flexibility of the FASTListbox component.
π Feature Request
Add option grouping support to FASTListbox.
π€ Expected Behavior
FASTListbox should support a new FASTOptgroup component, which will be used to define groups of related options. The component should visually distinguish the option group label from the individual options, and the option group label should not be selectable or focusable. Keyboard navigation should be updated to accommodate option groups.
π― Current Behavior
Currently, the FASTListbox component supports adding individual FASTOption elements, but there is no built-in support for option grouping.
π Possible Solution
π¦ Context
Option grouping can help users navigate through long lists of options more easily by visually grouping related options. It can also improve the accessibility and user experience of the FASTListbox component. Implementing this feature will enhance the functionality and flexibility of the FASTListbox component.
π» Examples