Tabs and accordions look interactive, and <details> really is, but the
document is the source of truth, so a click on a tab title and a native
fold both have to be written back as attribute changes. Without this, a
user's folding would vanish on the next render and never survive a save.
Folding is a view preference rather than an edit, so these transactions
stay out of the undo history.
The DOM half of the container blocks.
Tabs and accordions look interactive, and
<details>really is, but the document is the source of truth, so a click on a tab title and a native fold both have to be written back as attribute changes. Without this, a user's folding would vanish on the next render and never survive a save.Folding is a view preference rather than an edit, so these transactions stay out of the undo history.