From 7480f6ab2a5eb81c10ead18fa4372d84ee0d72df Mon Sep 17 00:00:00 2001 From: Dima May Date: Tue, 8 Oct 2024 19:23:22 +0000 Subject: [PATCH] #213: added aria-label to iframe --- skills-client-js/src/display/SkillsDisplayJS.js | 1 + 1 file changed, 1 insertion(+) diff --git a/skills-client-js/src/display/SkillsDisplayJS.js b/skills-client-js/src/display/SkillsDisplayJS.js index e5cbda08..7a6ffcbc 100644 --- a/skills-client-js/src/display/SkillsDisplayJS.js +++ b/skills-client-js/src/display/SkillsDisplayJS.js @@ -80,6 +80,7 @@ export default class SkillsDisplayJS { }); const iframe = document.querySelector(`.${className}`); iframe.setAttribute('style', 'border: 0; height: 100%; width: 100%'); + iframe.setAttribute('aria-label', 'SkillTree Skills Display') iframeContainer.height = 0; iframeContainer.style.height = '0px';