Re: [w3c/webcomponents] Custom pseudo-classes for host elements via shadow roots (:state) (#738)

My intention is that the API just affects selector matching, and we'll have another API to change accessibility sates, like [this](https://alice.github.io/aom/spec/custom-element-semantics.html).

    this.#internals.stats.add(':checked');
    this.#internals.ariaChecked = 'true';

I expect someone develops a higher-level library on top of these primitive APIs.

-- 
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/738#issuecomment-484829591

Received on Friday, 19 April 2019 09:40:03 UTC