diff --git a/coral-component-masonry/src/scripts/Masonry.js b/coral-component-masonry/src/scripts/Masonry.js index def1a92eb7..c050fc298b 100644 --- a/coral-component-masonry/src/scripts/Masonry.js +++ b/coral-component-masonry/src/scripts/Masonry.js @@ -604,7 +604,9 @@ const Masonry = Decorator(class extends BaseComponent(HTMLElement) { item.setAttribute('aria-selected', item.selected); } } else { - item.removeAttribute('role'); + if (item.getAttribute('role') === 'gridcell') { + item.removeAttribute('role'); + } item.removeAttribute('aria-colindex'); item.removeAttribute('aria-selected'); }