diff --git a/packages/documentation/src/stories/components/card-control/card-control.docs.mdx b/packages/documentation/src/stories/components/card-control/card-control.docs.mdx index 1cccab4321..63dcd96a30 100644 --- a/packages/documentation/src/stories/components/card-control/card-control.docs.mdx +++ b/packages/documentation/src/stories/components/card-control/card-control.docs.mdx @@ -39,7 +39,7 @@ If this is not enough, you can also use the named `icon` slot and add your very If you need to add other content to the component, you can use the default slot to do so. -
Even if it is generally possible, we do not recommend using interactive elements in this slot for accessibility reasons.
+
Even if it is generally possible, we do not recommend using interactive elements in this slot.

Valid markup: block content.

Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable. This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured. More info: https://accessibilityinsights.io/info-examples/web/nested-interactive/