WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Unlabelled radio buttons

for

From: glen walker
Date: Sep 6, 2018 8:36AM


Then it depends if your questions can really be answered using a Likert
scale and have discrete answers, or if the answers can be continuous.
You'd have to decide that first. Does someone have to be 4-neutral or
3-a-lttle-sad, or can they be somewhere between those?

If the answer can be anywhere, then a slider would have to be used. I
guess all the answers would be initially neutral. But then you're back to
where you started and how do you unanswer a question. This starts getting
into the UX of the design as opposed to the accessibility of the design
(but, yes, I know the two are intertwined).

One idea is to have all your sliders on neutral and have a disabled "clear
answer" button next to each one. The button becomes enabled once the
slider value changes. If you select the button, it puts the slider back on
neutral (which is not the same as the user putting the slider back on
neutral) and then disables itself.

But then that adds another issue, selecting a button that disables itself.
Do you leave the focus on the disabled element and deal with the focus
indicator disappearing and the weirdness that you can tab off the disabled
element but can't tab back to it?

You could use a checkbox to clear the answer so you don't have to worry
about disabling it but that feels a little awkward. Is it a checkbox with
"clear answer" as the label, and when you check it, the slider moves back
to neutral? Then if you move the slider, the checkbox gets unchecked
automatically?

I think the enabled/disabled clear button indicates what happened better
than the checkbox does, despite the awkwardness of clicking on a button
that disables itself.

That's why I leave UX to people that know what they're doing :-)

Glen