Re: [csswg-drafts] Potential need for a new CSS pseudo-class for role matching (#5901)

A `:role()` proposal is already tracked in #3596. A semantic role selector is certainly better than something like regex selectors, #1008 vs #1010. An open question is whether it makes more sense to introduce, for instance, `:role(heading)` than `:heading`. 

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


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

Received on Friday, 29 January 2021 08:20:25 UTC