WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Sliders and MouseDown

for

From: Mohith BP
Date: Feb 28, 2019 10:41PM


Hi Isabel,

This is bit tricky. Please find my thoughts below.
I feel this SC is applicable for sliders.
Understanding 2.5.2 states:
"The most accessible way to incorporate pointer cancellation is to
make activation occur on the up-event."

Going by the above sentence and if you are going to confirm by this
methodology, it is sure that once the users mouse down and drag till
the desired place and only by releasing the mouse pointer should
activate the event.

It means if the slider is a volume then even the users drag the slider
they will not get the volume up or down till they release the pointer.
This may cause some usability issues for the users expecting dragging
along increases the volume and they can leave at the place where they
feel comfortable.

I feel it is good to provide the Up event only activation is right as
per this SC and it is required to bring the slider where it was if the
pointer is released out of the slider area.

This SC states many ways such as providing an UnDo button, etc.
You can explore other options such as showing an UnDo when drag and
drop on Sliders happens.


Thanks & Regards,
Mohith B. P.

On 2/27/19, Isabel Holdsworth < <EMAIL REMOVED> > wrote:
> Hi all,
>
> Any thoughts on whether WCAG 2.1 guideline 2.5.2 might apply to sliders?
>
> For normal drag-and-drop components, if a user starts dragging an
> element then changes their mind, dragging it somewhere outside the
> permitted drop zones causes the element to be plonked back where it
> started.
>
> Should the same behaviour apply when a user begins dragging a slider
> thumb, say, on the volume control or play-head of a media player? If
> they begin dragging the play-head then have a change of heart and move
> the pointer outside the slider, should the play-head jump back to
> where it started? And if it doesn't, would this fail 2.5.2?
>
> Lots of stuff to grapple with in my first 2.1 audit :-)
>
> Thanks as always for your thoughts.
>
> Cheers, Isabel
> > > > >