Skip to content

Commit 4d57a9b

Browse files
refactor: remove disabled logic from base class
1 parent 59a8c74 commit 4d57a9b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

second-gen/packages/core/components/status-light/StatusLight.base.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,6 @@ export abstract class StatusLightBase extends SizedMixin(SpectrumElement, {
111111
],
112112
}
113113
);
114-
} else if (this.hasAttribute('disabled') && 'disabled' in this) {
115-
// Set aria-disabled when no warning is shown
116-
if (!this.hasAttribute('aria-disabled')) {
117-
this.setAttribute('aria-disabled', 'true');
118-
} else {
119-
this.removeAttribute('aria-disabled');
120-
}
121114
}
122115
}
123116
}

0 commit comments

Comments
 (0)