Accessibility, tabbing through UI elements

I am trying to set up a UI that can be navigated through keyboard only. When I tab through various UI elements, I see the yellow box, but is there a simple, global way to make a UI element “clicked” when Enter is pressed? Or do I have to listen for the key? I just thought maybe there was a single property associated with Accessibility somewhere.