Re: [csswg-drafts] [selectors-4] and a11y: pseudo-elements for ::label, ::description, ::active-descendent, etc. (#6719)

Ah, yes, I see the need has come up before, and been deferred. I think my proposal goes farther, because it includes anything that acts as a label (including those that have mainly been for AT), not just `label` elements. The state of `aria-*` is further along than it used to be, with properties that reflect the associations, and being able to set the associations without ID refs. So I think we can go further than the original proposals. 

I also think the pseudo-element approach works well for selecting the actual elements (and perhaps their descendants), rather than just inserting pseudo-classes for that element into a function. 

I also like that this approach is more generally extendable to other aria attributes/properties, like those I mentioned. 

-- 
GitHub Notification of comment by bradkemper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6719#issuecomment-943785557 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 October 2021 22:26:15 UTC