WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Where do single page applications fail WCAG2?

for

From: Patrick H. Lauke
Date: Feb 10, 2015 3:12AM


On 10/02/2015 10:00, Lynn Holdsworth wrote:
> I'm looking at a single-page application which, when I press the Login
> button, loads a whole new set of main content, essentially a new page,
> without alerting screenreader users or moving the focus to somewhere
> appropriate.
>
> I understand what's wrong with this scenario and how to fix it, but I
> can't find where it fails under WCAG2. Someone please tell me it does
> fail!
>
> I'd really appreciate any concrete info on which checkpoint(s) I
> should fail this under.

2.4.3. Focus Order would be a good start. Generally, if new content
appears and the focus is programmatically moved to it, screenreaders
will take it from there. If the focus isn't moved, or is reset/lost to
the start of the document, the order is inherently wrong/illogical.

Depending on the specifics, 4.1.2 Name, Role, Value may also play a part
here (to make sure controls expose their correct role, alerts/dialogs
are correctly identified, etc).

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke