Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion coral-component-cyclebutton/src/scripts/CycleButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading