Accordion Snippet's Default Expanded Panel Changed to Zero

Thursday, September 14, 2023
Sample accordion snippet with all panels collapsed

The Accordion snippet's Expand a Panel value was set by default to 2, causing the second panel to expand on page load. This value has been changed to 0 so that all panels are collapsed by default (which is the most common behavior).

No Action Required

This change was applied to the Accordion snippet's source code and will take effect when new accordions are inserted on pages.

 

Categorized As