WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Sliders and MouseDown

for

From: glen walker
Date: Mar 1, 2019 3:15AM


I don't like the slider *not* updating as it's being dragged. Whether for
volume, or a seek bar, or for a color change. For the latter, see WebAIM's
contrast checker, https://webaim.org/resources/contrastchecker/#maincontent.
If you're a mouse user, you can drag the slider for the color and see the
color box change and the pass/fail options update. As a keyboard user, I
can use left/right arrows to see the changes. If you press and hold an
arrow key, it's kind of like dragging the slider, except you can't
escape/undo it. On firefox, I can hit escape while dragging with the mouse
and it'll cancel the change. Neither chrome nor IE support that.

Keep in mind that 2.5.2 has a list of "at least one of the following is
true". The canceling of the mouse drag is just one of them. If you don't
support canceling, then perhaps you can satisfy one of the others. In the
case of a volume or seek or color bar, I would argue that the fourth bullet
point applies - "Essential: Completing the function on the down-event is
essential". Allowing the user to hear the volume change as you're dragging
could be considered "essential". Seeing a color box change and pass/fail
options update could be considered "essential". It might be a subjective
argument, but that's nothing new.

Glen