Skip to content

[css-pseudo-4] Let ::details-content opened details correctly set expanded #13096

@Snugug

Description

@Snugug

When a details element is forced open using :details-content (with content-visibility: visible; and height: auto !important; or similar), today, the details element is exposed as closed to assistive technology. It'd be great if it'd properly report that it's expanded when forced opened, reducing the need for writing and running JavaScript to make this very powerful UI pattern accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions