- From: Yummy_Bacon5 via GitHub <sysbot+gh@w3.org>
- Date: Fri, 03 Nov 2023 11:42:31 +0000
- To: public-css-archive@w3.org
> I am not that familiar with the accessibility API, but if aria-pressed is updated then we can access that with CSS. Do you have any links or information showing this in the accessibility API? Every HTML element is internally mapped to ARIA role and state(s). Where these properties are then communicated to assistive technologies through an [accessibility API](https://w3c.github.io/aria/#dfn-accessibility-api). But basically, the actual ARIA attributes are not going to be added to the elements, and are just represented internally. So a CSS selector can't select them. --- > `button:invoketarget(:popover-open)` would match a button whose invoketarget matches `:popover-open`. This was also suggested by @lukewarlow in https://github.com/openui/open-ui/issues/898#issuecomment-1783952332 -- GitHub Notification of comment by YummyBacon5 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9547#issuecomment-1792292670 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 3 November 2023 11:42:33 UTC