Skip to content

Disclosure Native HTML Example #2770

@j-mendez

Description

@j-mendez

The example for the disclosure pattern at https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-faq/ uses custom html, css, and js to build the view. HTML has the disclosure pattern built in using

. The details element works with all browsers and provides the same functionality without needing extra javascript.

It would be better to display the native counter part on the example instead of using aria properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Example PageRelated to a page containing an example implementation of a patternFeedbackIssue raised by or for collecting input from people outside APG task forceenhancementAny addition or improvement that doesn't fix a code bug or prose inaccuracyhelp wantedTask force is looking for an owner for the issuequestionIssue asking a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions