Skip to content

Commit 1895c07

Browse files
authored
fix(action): prefer disabled in favor of aria-disabled (#10367)
**Related Issue:** #7775 ## Summary - only set `disabled` on action, not `aria-disabled` since it is redundant.
1 parent 2be77d3 commit 1895c07

File tree

1 file changed

+0
-1
lines changed
  • packages/calcite-components/src/components/action

1 file changed

+0
-1
lines changed

packages/calcite-components/src/components/action/action.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ export class Action
315315
<button
316316
aria-busy={toAriaBoolean(loading)}
317317
aria-controls={indicator ? indicatorId : null}
318-
aria-disabled={toAriaBoolean(disabled)}
319318
aria-label={ariaLabel}
320319
aria-pressed={toAriaBoolean(active)}
321320
class={buttonClasses}

0 commit comments

Comments
 (0)