WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Sliders and MouseDown

for

From: Isabel Holdsworth
Date: Mar 4, 2019 5:04AM


Thanks Glen.

With a slider that has a small number of steps, such as a 10-step
volume control, it's easy to revert to the exact place where the thumb
was positioned before it was dragged.

However, with an infinite slider such as a play-head, it would be nigh
on impossible to get back to the exact same position. Would the
inability to cancel a drag constitute a fail in instances like this?

Grateful for your thoughts as always.

Cheers, Isabel

On 01/03/2019, glen walker < <EMAIL REMOVED> > wrote:
> I had tried that the other day using the sample on w3schools -
> https://www.w3schools.com/howto/howto_js_rangeslider.asp
>
> On a PC with firefox, I can hit escape to cancel the thumb drag. On chrome
> and ie, I cannot cancel the drag.
>
> There doesn't seem to be an area where the drag is canceled if I move
> outside that area, so it doesn't work like the browser's page scroll widget
> (but would be nice if it did).
>
> On Fri, Mar 1, 2019 at 10:42 AM Birkir R. Gunnarsson <
> <EMAIL REMOVED> > wrote:
>
>> How does a native slider (an <input type="range"> element work with
>> the mouse in browser)?
>>
>>
> > > > >