Skip to content

Allow headings in <summary> elements for <details> #8864

Open
@yatil

Description

@yatil

Currently, headings in <summary> elements are not allowed and do not show up in the accessibility tree as headings. For accordions and other use cases, using headings inside the <summary> makes a lot of sense. Navigating to a heading inside the summary should set the focus to the summary and then have the expected interaction to open and close the details element.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions