How to click a focused button via keyboard on mac?

For example, when I press "tab" to focus a button(to close something etc) and try to click it by press "return", however I can't.


Press the Space bar. This should "click" the button that currently has focus.

I find the combination Alt+Space act the same too, a "click".