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

So, `:role()` would be a bit like `:lang()` in that it can be inherited or inferred, while `[role]` or `[aria-role]` cannot. A pseudo-class seems appropriate then, otherwise I would have suggested special syntax as for IDs `#foo` and classes `.bar`, e. g. `@baz` or `%baz`. 

GitHub Notification of comment by Crissov
Please view or discuss this issue at using your GitHub account

Received on Tuesday, 5 February 2019 18:41:58 UTC