Hacker News new | ask | show | jobs
by punyearthling 965 days 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.