Hello,
I noticed an accessibility issue with the Elfsight Accessibility widget on my website.
When running automated accessibility checks (LambdaTest), the floating accessibility button is flagged for:
-
Missing accessible name (aria-label)
-
SVG icon not marked as decorative (aria-hidden=“true”)
To temporarily resolve this, I implemented a JavaScript fix that adds an appropriate ARIA label (“Open accessibility settings”) and marks the SVG as decorative.
Here’s the simplified version of my workaround:
(function(){
function enhance(){
var portal = document.querySelector('#__EAPPS_PORTAL, [id^="__EAPPS_PORTAL"]');
if(!portal) return;
var btn = portal.querySelector('button');
if(!btn) return;
// Add accessible name
var lang = (document.documentElement.lang || 'it').toLowerCase();
var label = lang.startsWith('en')
? 'Open accessibility settings'
: 'Apri impostazioni di accessibilità';
btn.setAttribute('aria-label', label);
// Mark SVG as decorative
var svg = btn.querySelector('svg');
if(svg){
svg.setAttribute('aria-hidden','true');
svg.setAttribute('focusable','false');
var t = svg.querySelector('title, desc'); if(t) t.remove();
}
}
enhance();
new MutationObserver(enhance).observe(document.documentElement,{childList:true,subtree:true});
})();
Could you please confirm whether this accessibility improvement is planned for a future release?
It would be helpful to know when I can safely remove the custom fix and rely on the updated widget instead.
Thank you for your attention and support.

