Class Names have changed

Hello,

It looks like some class names that used to be apart of the Accordion aren’t there anymore. Specifically ‘x-accordion-heading’ and ‘x-accordion-toggle’? Is this correct?

Also, it looks like some keyboard accessibility measure have been improved recently. In fact it looks like the structure of the Accordion element is quite different from what I remember. Is this correct?

I’m looking back at some JavaScript I added and it’s no longer works (or is needed, which is great). How can I prevent Custom CSS and JavaScript from becoming obsolete in case of a change in class name or structure?

thanks!

Hello Paper+Screen,

Thanks for writing in!

Please be advised that we have Classic Accordion and the new V2 Accordion element.
You can check it right here:

Custom CSS and Javascript will never be obsolete if you use custom classes in your elements. If you depend on the element structure, then that is where you have conflict in the future once the element structure change due to updates.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.