[bug]: disabled
prop is inconsistent across Button
and IconButton
#1345
Labels
issue: bug
Issue reporting a bug
source: design-system
relates to design-system package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Milestone
What version of strapi-design-system are you using?
What's Wrong?
The
disabled
property leads to inconsistent markup betweenButton
andIconButton
. Forbutton
thedisabled
HTML attribute is set, where as forIconButton
aria-disabled
is set only.To Reproduce
Button: https://design-system-git-main-strapijs.vercel.app/?path=/story/design-system-components-button--disabled
IconButton: https://design-system-git-main-strapijs.vercel.app/?path=/story/design-system-components-iconbutton--disabled
Expected Behaviour
We should unify the behavior:
disabled
attributearia-disabled
because it is duplicated information and probably not necessaryThe text was updated successfully, but these errors were encountered: