E-mail List Archives
Re: loading content and single page applications
From: Birkir R. Gunnarsson
Date: Jul 1, 2016 7:46AM
- Next message: Paul J. Adam: "Re: loading content and single page applications"
- Previous message: Lovely, Brian (CONT): "Re: loading content and single page applications"
- Next message in Thread: Paul J. Adam: "Re: loading content and single page applications"
- Previous message in Thread: Lovely, Brian (CONT): "Re: loading content and single page applications"
- View all messages in this Thread
In addition to adding alt text on the loading icon, I would put
aria-busy="true" attribute on the container element for the content
that is being loaded (you can put it on the body element if it is the
whole page).
http://www.w3.org/TR/2016/WD-wai-aria-1.1-20160317/#aria-busy
I am not sure how well this is supported by a.t. but it should be, it
is semantically the right thing to do.
On 7/1/16, Lovely, Brian (CONT) < <EMAIL REMOVED> > wrote:
> I'd say the answer depends on the specific circumstance. In this case, once
> the search results load, apply focus to the first result.
>
> You specified a spinning wheel gif (or similar), so make sure that has an
> alt attribute set to something like "loading." If the loading indicator is
> text instead of an image, you should be ok, as long as you add an aria
> attribute of aria-alert="loading" to the text node container. If the loading
> image is a CSS background image, and there is no text, you'll have to add a
> span or other container containing the text "loading". Add the
> aria-alert="loading" attribute, and you can position the span off screen
> using CSS to hide it visually.
>
>
>
- Next message: Paul J. Adam: "Re: loading content and single page applications"
- Previous message: Lovely, Brian (CONT): "Re: loading content and single page applications"
- Next message in Thread: Paul J. Adam: "Re: loading content and single page applications"
- Previous message in Thread: Lovely, Brian (CONT): "Re: loading content and single page applications"
- View all messages in this Thread