Skip to content

feat(Button): Disabled buttons can be focusable with enabled element

Michael Le requested to merge mle-disable-button-with-tooltip into main

What does this MR do?

A disabled button can be keyboard focusable when wrapped in an enabled element.

This is useful to document because it allows us to use disabled buttons in areas where space may not be available or a disabled button is the best pattern to convey the lack of the functionality.

Related Slack conversation around disabling the Duo Chat button.

Does this MR meet the acceptance criteria?

Links

Merge request reports