Accordion Widget bugfixes and clarification

From #5268.