Disable click in accordion

i am using the accordion component. i have a multiple panel checkout with continue buttons on each panel, and i don’t want the end user to be able to skip ahead by clicking on the header of a panel.

does anyone know some code to disable the click areas on the headers of panels in the accordion component?

thanks for any help!