diff --git a/coral-component-card/src/scripts/CardProperty.js b/coral-component-card/src/scripts/CardProperty.js index f6d331221a..8de358d62a 100644 --- a/coral-component-card/src/scripts/CardProperty.js +++ b/coral-component-card/src/scripts/CardProperty.js @@ -163,6 +163,15 @@ const CardProperty = Decorator(class extends BaseComponent(HTMLElement) { // Assign the content zones, moving them into place in the process this.content = content; + + // Adjusting icon aria-label attribute as per coral-card-property title attribute + + if(this._elements.icon.parentNode !== null) { + const iconParentTitle = this._elements.icon.parentNode.getAttribute('title'); + this._elements.icon.setAttribute('aria-label', iconParentTitle); + } + + } });