WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JAWS 14 issues with partial view reloads for Single Page Java web applications


From: Mary Elizabeth Sullivan
Date: Jul 22, 2015 4:56AM

Interesting! What do you mean by "promise".

Sent from my iPhone

> On Jul 22, 2015, at 03:11, _mallory < <EMAIL REMOVED> > wrote:
>> On Tue, Jul 21, 2015 at 05:42:50PM +0100, <EMAIL REMOVED> wrote:
>> You are right that document ready is too early to affect content loaded in
>> via AJAX, but instead of using a timeout (when you cannot guarantee it will
>> run at the right time) you listen for the completion of the AJAX call.
> It's too bad we don't have cross-UA mutation/object observers. But so
> a Promise might indeed be the best thing for dealing with focus, instead
> of setTimeouts.
> Having JS determine focus instead of whatever browser default there is
> can be desireable in cases where users (all of them) expect to stay in
> the same page position even when new content loads (so long as it isn't
> loading far away from current-position).
> _mallory
> > > >