2 ms·
web components are nice, but not perfect and i get tired of web component proponents neglecting to mention the trade-offs when using them. enabling shadow DOM
by punyearthling 3y ago
web components are nice, but not perfect and i get tired of web component proponents neglecting to mention the trade-offs when using them.
enabling shadow DOM renders that component completely inaccessible to users using assistive tech like screen readers. without a shadow DOM enabled, you lose the encapsulation benefit devs seem to love. js framework components, for all their faults, can at least be accessible.
i just don't think web components are quite there yet.