WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Opening modal window without user action

for

From: Bruno Girard
Date: Mar 25, 2016 5:18AM


Hello Rakesh,
This change do not happen on focus... It is slightly different. We open the
window and give focus to this window. This window appears after a
programmed delay, without any specific user action. Does 3.2.1 is still the
criteria to invoke for this fail?
Thanks,

Bruno
Le 24 mars 2016 9:01 AM, "Maxability Accessibility for all" <
<EMAIL REMOVED> > a écrit :

> Hi Bruno,
>
> I would still fail it under 3.2.1 On focus.
> <http://www.maxability.co.in/2015/08/3-2-1-on-focus/>;
>
> This behavior definitely disoriant the user . Getting focus back to the
> triggering element might not be a WCAG violation but the focus should
> return to a logical position which could be the triggering element or any
> other logically positioned element such as the next focussable element to
> the triggered one.
>
>
> <http://www.maxability.co.in/2015/08/3-2-1-on-focus/>;
> On <http://www.maxability.co.in/2015/08/3-2-1-on-focus/>;Wed, Mar 23, 2016
> at 8:32 PM, Bruno Girard < <EMAIL REMOVED> > wrote:
>
> > Hello,
> >
> > I want to know, according to you, if the following behavior is a fail to
> > WCAG, if so, under which success criteria and why.
> >
> > In our website, marketing wants to ask users if the want to answer a
> survey
> > after their visit.
> >
> > The actual solution is a modal window that appears after a delay without
> > any user action. I agree that this is not the ideal solution but I have
> no
> > choice to deal with it. The actual modal window is not accessible, but
> in a
> > short term, as a quick win, I would make it accessible with the following
> > requirements (at the minimum):
> >
> > 1. Upon display, modal window container will received focus, this made
> > by Javascript.
> > 2. What is under this window would not reachable when the modal is
> > displayed.
> > 3. All the content in the window would be accessible.
> > 4. In the modal, buttons Yes or No would be offerred at a question to
> > ask if user wants to answer a short survey at the end of his visit.
> Upon
> > click "Yes", a new browser Tab opens with survey and the modal window
> > close. User is notified of new window opening before click. Upon click
> > "No", the modal window close.
> > 5. If possible, after modal window close, the focus will still be on
> the
> > same element before modal window automatic opening. Is it a fail if it
> > doesn't return to this element?
> >
> > I have read this failure document:
> > https://www.w3.org/TR/WCAG20-TECHS/F52.html
> >
> > I already know that it is a fail to open a new window upon load. In my
> > case, I have a delay. Does it fail?
> >
> > Thanks in advance for your answers.
> >
> > Happy Easter!
> >
> > Bruno
> > > > > > > > > >
> > > > >