Checkmark select is failing Axe scan, interactive controls must not be nested #42159
Labels
component: select
This is the name of the generic UI component, not the React module!
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
https://mui.com/material-ui/react-select/#checkmarks
Required dependencies: Axe DevTools browser extension
Steps:
select
control within theCharkmarks
exampleScan ALL of my page
withAxe DevTools
Attempted to resolve this issue a few different ways but none of them worked.
Current behavior
Axe DevTools flags each of the nested checkboxes as an issue. "Interactive controls must not be nested".
Expected behavior
Either the MUI documentation should note the charkmarks select variant example is not compliant with accessibility rules or the Checkmarks select variant example code should be compliant.
Context
Our UX designers desire a checkbox nested drop down control because the checkboxes more clearly delineate a selected state over the selection highlighting.
Your environment
npx @mui/envinfo
Search keywords: checkbox select nested accessibility
The text was updated successfully, but these errors were encountered: