Custom tabindex needs to be clickable via enter key

Question:
How do I make sure a container is clickable via the keyboard?

Product:
WIX Studio

What are you trying to achieve:
I’ve created a series of containers that, via code, act like buttons. I’ve included them in the tab-index. BUT when I tab to them, I cannot use the ENTER key to click them.

What have you already tried:
I’m not sure where to begin.

Additional information:
Here’s a screenshot. The screenshot didn’t capture my cursor which is hovering over the first button. The 2nd button on the left has been tabbed to.

Hi, eglass !!

Wouldn’t it be useful to detect the Enter key input with this API? :upside_down_face: