I’d probably just use invisible radio buttons with the text being in the label for it, then based on the radio button selected via it’s ID then show an image and hide the others. It can all be done in pure CSS, no javascript needed, and it will work everywhere.
Here’s an example of what @OvermindDL1 suggested, just because I love solving this kind of problems in CSS/HTML. JavaScript could enhance this, but using HTML/CSS only, it’s easy enough to make it accessible.