AnnouncementFocus the demo to see what it exposes.
Labeling
- The surrounding listbox or selector should explain what the options represent.
Keyboard Behavior
Optionhas no keyboard behavior of its own: the owner of the list handles the keys.
Focus Behavior
Optiondoes not take focus. The owner of the list keeps it and points to the active option witharia-activedescendant.activeshows which option that is.
Screen Reader Semantics
- The component renders
role='option'. aria-selectedis exposed whenselectedis provided, andaria-disabledwhendisabledis.
Form Semantics
Optionis not native form input by itself.
Accessibility Risks
- using
Optionwithout a proper parent listbox/menu pattern - relying only on selected color without adjacent context or selection semantics