Closed petrakristova closed 3 weeks ago
If ix-button or ix-icon-button is disabled, button element inside shadow-root is enabled. I would expect it also to be disabled.
ix-button
ix-icon-button
button
shadow-root
Angular
v2.2.1
<ix-button disabled class="m-1">Disabled button</ix-button> <ix-icon-button icon="info" variant="Primary" disabled class="m-1"></ix-icon-button>
@petrakristova why do you expect this?
Because if assistive reader or test framework gets the button, it gives you false reading of the disabled state.
Prerequisites
What happened?
If
ix-button
orix-icon-button
is disabled,button
element insideshadow-root
is enabled. I would expect it also to be disabled.What type of frontend framework are you seeing the problem on?
Angular
Which version of iX do you use?
v2.2.1
Code to produce this issue.