W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

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

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Feb 2019 18:41:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-460754224-1549392085-sysbot+gh@w3.org>
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 https://github.com/w3c/csswg-drafts/issues/3596#issuecomment-460754224 using your GitHub account
Received on Tuesday, 5 February 2019 18:41:58 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC