The <details> element provides a built-in expand/collapse experience with minimal JavaScript and full keyboard support.
- It is focusable using the Tab key.
- Space and Enter toggle the open state.
- Assistive technologies announce the component as expandable.
<summary> for better accessibility.