WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: spinners/loading animations

for

From: Ugurcan Kutluoglu
Date: Oct 8, 2017 4:19PM


I'm not 100% certain, but the WCAG rule seems to have an exception for
loading animations.

https://www.w3.org/TR/UNDERSTANDING-WCAG20/time-limits-pause.html

A "loading" animation
> A preloader animation is shown on a page which requires a certain
> percentage of a large file to be downloaded before playback can begin. The
> animation is the only content on the page and instructs the user to please
> wait while the video loads. Because the moving content is not presented in
> parallel with other content, no mechanism to pause, stop or hide it needs
> to be provided, even though the animation may run for more than 5 seconds
> for users with slower connections.


On Fri, Oct 6, 2017 at 8:05 AM, Swift, Daniel P. < <EMAIL REMOVED> > wrote:

> Ugi:
>
> The way you describe the lazy loading is exactly what we are doing. We
> are swapping the src attribute once the image is in viewport. My concern
> is with WCAG 2.2.2 -- that the spinner could spin longer than 5 seconds if
> the user is on a slow connection or indefinitely if the user has JS
> disabled.
>
> Thoughts?
>
> Dan Swift
> Senior Web Specialist
> Enterprise Services
> West Chester University
> 610.738.0589
>
>