A "only one panel open at a time" accordion — think an FAQ — used to require hand-written JS that closes every other panel before opening the clicked one. `<details>`/`<summary>` only ever supported a single independent toggle; there was no way to group several exclusively.
Give several `<details>` the same `name`, like `<details name="faq">`, and they behave like a radio button group — opening one closes the rest sharing that name automatically. `<summary>` already gets keyboard focus and Enter/Space toggling for free, so accessibility comes along with it.
Check caniuse/MDN baseline for support. Without it, you still need JS listening for each `<details>`'s `toggle` event and setting `open = false` on the rest of the group.
When to use
Building an FAQ-style accordion where only one panel stays open, without JS.