Re: [csswg-drafts] [css-contain-2] Clarify whether content-visibility: auto subtree elements are visible in accessibility (#5857)

I don't know if there is a way in the accessibility language to express the fact this is something that will change if on-screen.

The education of putting the right headings can definitely work, but that is coupled with us hiding content by default which means that developers that don't follow best practices end up hiding more than desired from a11y users.

Alternatively the developer education can come in the form of "use aria labels if you really want to hide content" and show it by default :) (with an opposite caveat is that developers that don't follow best practices reveal more than desired to a11y users)


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


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

Received on Wednesday, 17 March 2021 17:42:42 UTC