The end user should never be surprised by what a button does.

But I see examples all the time of a button on the left collapsing an accordion on the right. Stop doing that. You’ve increased the Frustration & Astonishment Factor. If all the text off all the buttons on a page, your users should still have a reasonable idea of what button probably does what action.