If you have a look at the W3C specification, it would seem like the obvious thing to try is to mark your button elements with type="button"
when you don’t want them to submit.
The thing to note in particular is where it says
A button element with no type attribute specified represents the same thing as a button element with its type attribute set to “submit”