Use anything other than type=“image” as that one is specifically for capturing where in the image was clicked.
For example:
<button type="submit"><img src="..."></button>
and then style the button so you can only see the image it contains.
Use anything other than type=“image” as that one is specifically for capturing where in the image was clicked.
For example:
<button type="submit"><img src="..."></button>
and then style the button so you can only see the image it contains.