Re: [csswg-drafts] [selectors] Add :role() pseudo-class (#3596)

The CSS Working Group just discussed `:role() pseudo-class`.

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Subtopic: :role() pseudo-class<br>
&lt;jcraig> scribe-<br>
&lt;jcraig> s/scribe-//<br>
&lt;fantasai> Rossen_: Can someone summarize this issue?<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/3596<br>
&lt;fantasai> matatk: Is this a shortcut for the attribute selector? Seems to be syntactic sugar<br>
&lt;fantasai> fremy: There are some differences, handles roles that are implied as well<br>
&lt;TabAtkins> Yeah, handling implicit roles is the big point<br>
&lt;fantasai> PaulG: Map to computed role from Chrome's implementation<br>
&lt;fantasai> fremy: could do it yourself with correct attribute, but simplified way<br>
&lt;fantasai> heycam: is computed role only a function of role and tag name, or more things?<br>
&lt;fantasai> matatk: Landmarks, I maintain an extension to navigate, and where they are in teh document determines what they are<br>
&lt;fantasai> ... e.g. if header/footer are scoped to page you have page header/footer<br>
&lt;fantasai> ... but inside an article, not the same landmarks<br>
&lt;fantasai> ... not that simple, so I can understand why if browser does the matching it would be useful<br>
&lt;fantasai> PaulG: What's the status of it?<br>
&lt;fantasai> Rossen_: There's a group discussing this with ARIA<br>
&lt;fantasai> TabAtkins: Several years back we resolved to add this, to expose computed roles to selectors<br>
&lt;fantasai> ... several years after that, I raised this issue saying that I was supposed to draft it<br>
&lt;fantasai> ... still haven't written it<br>
&lt;fantasai> ... if any concerns about it, please file issues/comments<br>
&lt;fantasai> ... otherwise this is just something that needs to be written by me at some point, because I signed up for it<br>
&lt;fantasai> Rossen_: With this, we are out of time<br>
&lt;fantasai> Rossen_: thanks APA for joining us<br>
&lt;fantasai> Janina: Thanks for your hospitality<br>
&lt;fantasai> Rossen_: please do engage on the issues<br>
&lt;fantasai> ... we love to work with ou<br>
&lt;fantasai> ... if you find a liaison, would love to work with them<br>
&lt;fantasai> s/ou/you/<br>
&lt;fantasai> matatk: File issues is the theme for this week!<br>
&lt;fantasai> &lt;br duration=10m><br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3596#issuecomment-1248461627 using your GitHub account


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

Received on Thursday, 15 September 2022 18:35:48 UTC