Re: [csswg-drafts] [css-ui] Support setting offscreen content inert (#10711)

From the discussions from a11y experts I'm hearing some good arguments for augmenting visibility. Proposal:
```css
visibility: hidden | inert | visible;
```
This would:
- inherit as per usual.
- could be overridden in a subtree to make some subtree not inert.
- ideally have a default UA style to make it visually evident that it was inert. I'm open to suggestions on how this could be achieved - naively thinking that we could have the computed inherited `color` gain some transparency from its non-inert ancestor - though I'm not sure if this could easily be undone by a subtree and it would have limitations such as not affecting graphics as @scottaohara called out. 

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


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

Received on Monday, 9 September 2024 18:42:36 UTC