spec checked
MDN: details HTML disclosure element
Documents the native details element as a disclosure widget with summary label, open state, toggle event, keyboard activation, and grouping behavior through the name attribute.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Disclosure / details | Choose disclosure details for one short optional explanation that belongs directly beside the content it clarifies. | Activating the summary toggles only the one content region controlled by that disclosure. | MDN documents native details and summary behavior, open state, and toggle event. |
Evidence Role
This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.
Publisher: MDN Web Docs. Last checked: .