diff --git a/packages/button/src/LionButton.js b/packages/button/src/LionButton.js index d19c09c43..c49cf2807 100644 --- a/packages/button/src/LionButton.js +++ b/packages/button/src/LionButton.js @@ -162,7 +162,7 @@ export class LionButton extends DisabledWithTabIndexMixin(SlotMixin(LitElement)) this._buttonId = `button-${Math.random() .toString(36) .substr(2, 10)}`; - this.setAttribute('aria-labelledby', this._buttonId); + this.updateComplete.then(() => this.setAttribute('aria-labelledby', this._buttonId)); } }