Re: [WICG/webcomponents] Manage pseudo class matching state for custom elements (#813)

kyubisation left a comment (WICG/webcomponents#813)

This seems like a gap in capabilities at the moment.
Having the possibility to set `:checked` would reduce the mental burden of consumers to have to remember to use `:state(checked)`.
I would second the proposal from @rniwa to have a property (or something similar) on `ElementInternals`.
Naive thought; Should `ElementInternals.ariaChecked === "true"` enable `:checked` or would a dedicated property/API be better?

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

Message ID: <WICG/webcomponents/issues/813/2758479200@github.com>

Received on Thursday, 27 March 2025 15:30:19 UTC