WebAIM - Web Accessibility In Mind

E-mail List Archives

Shadow DOM and text spacing

for

From: Ajay Sharma
Date: Feb 15, 2024 1:33PM


Hi, curious to know if there is any way to test text spacing on the web content rendered through shadow DOM. We tried Text Spacing bookmarklet, and Stylus plug-in, that works on iframe, but seems it doesn’t work on shadow DOM, likely Because CSS is encapsulated in this case. Please share your thoughts if there’s a way to test this, and would that count as a failure?

Thanks!
Ajay