WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Sliders and MouseDown

for

From: Detlev Fischer
Date: Mar 1, 2019 4:02AM


While the mouse is down and the slider is moved, it should certainly
already update the value so in case of a volume control the user has
immediate feedback. There is nothing wrong with immediately updating the
values anyway (not just when this is essential) - the point is that the
release of the mouse button /finger lift-off ouside the active area of
the slider (which should certainly be wider than a couple of pixels)
should revert the thumb to the original position. When this does not
happen, my hunch is that the control would need to claim an essential
exception (which might be OK for volume as it is easily revertable).
Taking the videoexample, the situation is perhaps more tricky - you
definitely need feedback / change of position values while dragging
here. Reverting to the old position when releasing the mouse outside the
track area does not seem to be the common behaviour (just checked
YouTube, Vimeo and a few other players). The exact old position in the
video will be difficult to locate without the thumb reverting. I guess
such a behaviour would have benefits but probably also downsides, so I
would feel inclined to accept an essential exception for video track
sliders.
Detlev

Am 01.03.2019 um 11:30 schrieb Isabel Holdsworth:
> Very good points Glen - thank you. I think I could easily pass these
> under the "essential" criterion. I predict a happy customer moment :-)
>
> Thanks all.
>
> On 01/03/2019, glen walker < <EMAIL REMOVED> > wrote:
>> 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
>> >> >> >> >>
> > > > --
Detlev Fischer
Testkreis
Werderstr. 34, 20144 Hamburg

Mobil +49 (0)157 57 57 57 45

http://www.testkreis.de
Beratung, Tests und Schulungen für barrierefreie Websites