Skip to content

Commit

Permalink
fix(action): prefer disabled in favor of aria-disabled (#10367)
Browse files Browse the repository at this point in the history
**Related Issue:** #7775

## Summary

- only set `disabled` on action, not `aria-disabled` since it is
redundant.
  • Loading branch information
driskull authored Sep 23, 2024
1 parent 2be77d3 commit 1895c07
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ export class Action
<button
aria-busy={toAriaBoolean(loading)}
aria-controls={indicator ? indicatorId : null}
aria-disabled={toAriaBoolean(disabled)}
aria-label={ariaLabel}
aria-pressed={toAriaBoolean(active)}
class={buttonClasses}
Expand Down

0 comments on commit 1895c07

Please sign in to comment.