Re: [w3c/webcomponents] accessibility considerations: states and behaviors (#567)

To be clear, global string-indexed registries are an antipattern that we should avoid when they're not necessary. They are necessary for custom HTML element names, because of the interaction with the parser and with CSS. But they're certainly not necessary for behaviors of the type you describe; normal JavaScript composition via lexically-scoped and imported functions is a much better solution.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/567#issuecomment-247056150

Received on Wednesday, 14 September 2016 15:42:02 UTC