WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Sliders and MouseDown

for

From: Steve Green
Date: Feb 28, 2019 4:12AM


I can't see anything that says that cancellation must be possible using only the pointer, although I agree that would be ideal. The Understanding page says that moving the pointer away from the target before releasing is one way to achieve cancellation, but it does not say it is the only way.

It also says that cancellation can be achieved by returning the selected item to its original location. While that may be possible for sliders that have a relatively small number of values, it is not a realistic option for sliders that are infinitely variable, such as the timeline on a video.

This is another example of a WCAG 2.1 success criterion that would benefit from additional explanation and examples, so I hope the authors will address this.

Steve



-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Isabel Holdsworth
Sent: 28 February 2019 10:18
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Sliders and MouseDown

Hi Steve,

Pressing ESC may not be an option for some pointer users, and I don't think would be accepted as a sufficient technique for 2.5.2, which seems to stipulate that it must be possible to cancel a DOWN event using only the pointer.

I wish I knew whether or not this behaviour applies to sliders.

Cheers, Isabel

On 27/02/2019, Steve Green < <EMAIL REMOVED> > wrote:
> That's a really good point. My (possibly incorrect) understanding is
> that your analysis is correct, and that there should be a way to
> cancel and return to the original slider position. However, I have not
> been able to find any example of a slider that has such a behaviour.
>
> I would not have thought that it would be too difficult to use the
> Escape key to do this, but I am not a developer so nothing looks
> difficult from my perspective.
>
> Steve Green
> Managing Director
> Test Partners Ltd
>
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
> Isabel Holdsworth
> Sent: 27 February 2019 15:15
> To: WebAIM Discussion List < <EMAIL REMOVED> >
> Subject: [WebAIM] Sliders and MouseDown
>
> 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
> > > archives at http://webaim.org/discussion/archives
> > > > archives at http://webaim.org/discussion/archives
> >