Skip to content

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

Open
@vmpstr

Description

@vmpstr

The contain spec level 2 says that content-visibility: hidden elements should be omitted from the accessibility tree.

However, it doesn't say whether content-visibility: auto elements should be included or omitted. It only says that the timing of determining whether to include or omit the element should not differ greatly from non-accessibility path.

We believe that the content-visibility: auto elements should be visible in the accessibility. There is a caveat: in order to keep timing the same not process style, we would assume that the off-screen unrendered elements are visible even if they have something like visibility: hidden, until they are brought into view and style is updated.

/cc @alice @chrishtr

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.css-contain-2Current Work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions