diff --git a/src/lib/button/base/base-button-adapter.ts b/src/lib/button/base/base-button-adapter.ts index f3820e637..ec1fc23df 100644 --- a/src/lib/button/base/base-button-adapter.ts +++ b/src/lib/button/base/base-button-adapter.ts @@ -263,7 +263,7 @@ export abstract class BaseButtonAdapter extends BaseAdapter impleme const role = this._component.getAttribute('role'); const setAttribute = !role || ['button', 'link'].includes(role); this._component[setDefaultAria]({ role: this._anchorElement ? 'link' : 'button' }, { setAttribute }); - this._component[isFocusable] = !!this._anchorElement ?? !this._component.disabled; + this._component[isFocusable] = !!this._anchorElement || !this._component.disabled; } /**