WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Opening modal window without user action

for

From: Maxability Accessibility for all
Date: Mar 24, 2016 7:01AM


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
> > > > >