Are there any constraints regarding screen reader accessibility?

posted on

Back to overview

Yes.

The answer to this question is “Yes” because the referencing issues I described in Can I connect a label in light DOM to an input in shadow DOM? and Can I create an ARIA reference to an element in shadow DOM? can be problematic, especially if you’re unaware of it and don’t plan your architecture accordingly.

Having said that, it’s entirely possible to build an accessible website using web components. You just have to know what you can and can’t do.

Back to overview