You can use the component prop to change the underlying DOM elements and neutralize default HTML list semantics. Use this for standalone ListItemButtons that should not be announced as lists by screen readers. See the List Examples Story for an example.
Accessibility
Warning! Be very careful when using interactive ListItemButtons. Never put other interactive elements such as <Button>, <Radio>, <Checkbox>, <Link> inside a ListItemButton. It is invalid HTML and won't work correctly with keyboard or screen readers!
Refer to the different Stories for examples on how to create complex or interactive list items.
component
prop to change the underlying DOM elements and neutralize default HTML list semantics. Use this for standalone ListItemButtons that should not be announced as lists by screen readers. See theList Examples
Story for an example.Accessibility
<Button>
,<Radio>
,<Checkbox>
,<Link>
inside a ListItemButton. It is invalid HTML and won't work correctly with keyboard or screen readers!