details and summary
Also written: <details>, <summary>
Native HTML elements for a disclosure: summary is the clickable part and details holds the hidden content. It works with the keyboard without any script or ARIA.
Also written: <details>, <summary>
Native HTML elements for a disclosure: summary is the clickable part and details holds the hidden content. It works with the keyboard without any script or ARIA.