Yes, it was a theme’s issue which is now solved after the hint you provided. Thank you.
I would appreciate any hint that might help. In the example page I have set one accordion block as open and one as closed. Js does not work but the plugin does not recognize it, so one accordion remains closed.
Yes, previewing the site in Twenty Twenty resolves it.