Skip to content

Does the use of Summary and Details for an accordion pass 1.3.1? #5321

Description

@mbgower

The text of almost every accordion is a heading. As the APG states:

An accordion is a vertically stacked set of interactive headings that each contain a title, content snippet, or thumbnail representing a section of content. The headings function as controls that enable users to reveal or hide their associated sections of content.

The use of <summary> and <details> results in a native HTML accordion that does not expose the summary text as a heading. Does this mean that any use of <summary> where the text serves as a heading fails 1.3.1?

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Drafted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions