document.addEventListener("DOMContentLoaded", function () { // Select only the first .cmp-teaser__link inside .cmp-teaser__content const teaserLink = document.querySelector(".cmp-teaser__description .cmp-teaser__link"); if (teaserLink) { teaserLink.setAttribute("aria-label", "Video Gallery"); } });