title: How to make a focused item on an HTML element have its behavior (like click listener) be triggered by pressing enter key
body: <p>How would i trigger a click event listener based by pressing on enter in keyboard when element is in focus. I know it is doable by using something like button tag where pressing the enter key when it is in focus would act as a click, but what about for something like a div or a p tag. Is there any way to do it without setting up a listener for something like a keydown?</p>