Is there any way of making a POST request when an svg image is clicked?
My best attempt so far looks like:
This seems like a great use case for the element.
Clicking the button element performs the exact same job as input[type="submit"], so you can replace the input entirely. If you go this route, you may also consider putting a text label inside the button and/or a title inside the svg for accessibility purposes.