, 5 tweets, 1 min read
My Authors
Read all threads
PSA: There is currently no way for web components to be accessible if you use the isolation feature (called “shadow dom”).

Isolate the label from the input field, for example, & you break all the assistive technology - which requires they be tied together with ids.
There will eventually be a plan for dealing with accessibility across web component isolation boundaries, but the discussion is in the early stages, and we’re not likely to see consensus for several years.

Until then, isolation via shadow dom is a nonstarter.
So when you see all this stuff about how using web components can isolate your changes and take the cascading out of the CSS - mentally add “in 2-3 years” to all the claims.
There are other reasons besides isolation to use web components - such as performance, potentially, if you’re removing layers of framework code.
I suspect that over time we as an industry will realize that isolation boundaries aren’t useful around every single atomic component.

We will, in effect, re-derive Conway’s Law from first principles, & end up with those boundaries higher - around the components owned by a team.
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Sarah Mei

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!