I'm doing a satisfaction survey that should be accessible to users with screen readers.
For each question, answer options containing a text "Great, Poor, ..." and an image corresponding to the text are displayed. For aesthetic purposes I do not want to use radio-type inputs (or at least I do not want them to be visible). Below is the code that generates one of the options for the user to choose:
<div class="item_escala" escala="4">
<div>
<input type="image" src="img/nota4.png" width="48" alt="Bom" onclick="return false;">
</div>
<div class="lb_escala">Bom</div>
</div>
This link shows the solution I've done so far (including css and javascript): link
When the user clicks or enter in one of the images I change the background color of the div containing the image to show that the element has been selected.
Problem 1: In the case of the user with a screen reader, how do you make sure that when the screen is pressed, the screen reader notifies you that that element has been selected?
Problem 2: The screen reader reads image inputs as "buttons", which is not ideal. Any other suggestions on how to present these elements in an accessible way?
Note: I'm testing with the NVDA screen reader.