I am struggling with a request from a client to create a form that is focused when the button is accessed.

As an image, I want to create a form that focuses on the button when the page is accessed, just like adding checked to a radio button.

Since there is no attribute to keep in focus, should JS handle it in this case?

Thanks for your guidance.

Execution environment