Re: [csswg-drafts] [css-contain][inert]: inert and hidden containments should share common logic (#7703)

I don't see how inert and `content-visibility: hidden` are similar. Seem completely different to me.

The optimizations for `content-visibility: hidden` won't apply to inert just because both are exclude from find-in-page, etc. `content-visibility: hidden` can avoid laying out its contents, `inert` can't.

BTW, https://drafts.csswg.org/css-contain/#cv-a11y says that contents of `content-visibility: hidden` should be omitted in the accessibility tree. And inert elements are not a [suitable sequentially focusable area](https://html.spec.whatwg.org/multipage/interaction.html#suitable-sequentially-focusable-area), so you can't reach them by sequential navigation.





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


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

Received on Wednesday, 7 September 2022 16:44:08 UTC