From 2c8844a40ad5ffd5b900873350c18b8249dc2ed3 Mon Sep 17 00:00:00 2001 From: Lucian Stoian Date: Wed, 29 Apr 2026 12:58:41 +0300 Subject: [PATCH] [SITES-24495] Button label contains state - prevent verbosity by removing duplicated information --- coral-component-cyclebutton/src/scripts/CycleButton.js | 1 - 1 file changed, 1 deletion(-) diff --git a/coral-component-cyclebutton/src/scripts/CycleButton.js b/coral-component-cyclebutton/src/scripts/CycleButton.js index ae972d8638..aa6167a22c 100644 --- a/coral-component-cyclebutton/src/scripts/CycleButton.js +++ b/coral-component-cyclebutton/src/scripts/CycleButton.js @@ -813,7 +813,6 @@ const CycleButton = Decorator(class extends BaseComponent(HTMLElement) { // The id reference for an HTML element that labels the button element accessibility name for the button element else if (name === 'aria-labelledby') { if (value || !this.getAttribute('aria-label')) { - this._elements.button.setAttribute('aria-labelledby', `${value} ${this._elements.button.id}`); this._elements.overlay.setAttribute('aria-labelledby', value || this._elements.button.id); this._elements.selectList[this._hasMenuItemRadioGroup() ? 'setAttribute' : 'removeAttribute']('aria-labelledby', value || this._elements.button.id); }