E-mail List Archives
Re: loading content and single page applications
From: Lovely, Brian (CONT)
Date: Jul 1, 2016 7:36AM
- Next message: Birkir R. Gunnarsson: "Re: loading content and single page applications"
- Previous message: Lovely, Brian (CONT): "Re: CODE EDITORS"
- Next message in Thread: Birkir R. Gunnarsson: "Re: loading content and single page applications"
- Previous message in Thread: Gijs Veyfeyken: "loading content and single page applications"
- View all messages in this Thread
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: Birkir R. Gunnarsson: "Re: loading content and single page applications"
- Previous message: Lovely, Brian (CONT): "Re: CODE EDITORS"
- Next message in Thread: Birkir R. Gunnarsson: "Re: loading content and single page applications"
- Previous message in Thread: Gijs Veyfeyken: "loading content and single page applications"
- View all messages in this Thread