-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[button] Allow receiving focus when disabled #32917
Copy link
Copy link
Open
Labels
accessibilitya11ya11ypriority: importantThis change can make a difference.This change can make a difference.scope: buttonChanges related to the button.Changes related to the button.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Milestone
Metadata
Metadata
Assignees
Labels
accessibilitya11ya11ypriority: importantThis change can make a difference.This change can make a difference.scope: buttonChanges related to the button.Changes related to the button.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Summary 💡
focusableWhenDisabledprop for UnstyledButton has been recently implemented (#32090). The docs claim:The same reasoning should be applicable to the MUI Button and Checkbox components
Examples 🌈
See https://mui.com/base/react-button/#focus-on-disabled-buttons
Motivation 🔦
Make
<Button disabled />and<Checkbox disabled>accessible