WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Javascript modal content focus

for

Number of posts in this thread: 3 (In chronological order)

From: Steven Henderson
Date: Thu, Aug 12 2010 9:42AM
Subject: Javascript modal content focus
No previous message | Next message →

I've been using a couple of modal scripts (mainly lightbox and shadowbox) to
provide a generic popup for everything from images and video to inline
content, and am finding them a nightmare to use without a pointer device.
Neither script sets focus on the modal window or elements within it when
active, effectively leaving the user with the modal window sitting in the
front of screen and obscuring the page beneath ... simply ridiculous.



Anybody familiar with modifying these scripts? Or have a truely accessible
alternative?



Regards,



Steven

From: Patrick Dunphy
Date: Thu, Aug 12 2010 10:03AM
Subject: Re: Javascript modal content focus
← Previous message | Next message →

Hi Steve..

I've not used this myself but having just used the demo's using only my
keyboard to navigate, it appears to work just fine.

http://wiki.github.com/fnagel/jQuery-Accessible-RIA/lightbox

Hope this helps.

-PD

On Thu, Aug 12, 2010 at 11:40 AM, Steven Henderson <
= EMAIL ADDRESS REMOVED = > wrote:

> I've been using a couple of modal scripts (mainly lightbox and shadowbox)
> to
> provide a generic popup for everything from images and video to inline
> content, and am finding them a nightmare to use without a pointer device.
> Neither script sets focus on the modal window or elements within it when
> active, effectively leaving the user with the modal window sitting in the
> front of screen and obscuring the page beneath ... simply ridiculous.
>
>
>
> Anybody familiar with modifying these scripts? Or have a truely accessible
> alternative?
>
>
>
> Regards,
>
>
>
> Steven
>
>
>
>
>
>

From: Steven Henderson
Date: Fri, Aug 13 2010 3:09AM
Subject: Re: Javascript modal content focus
← Previous message | No next message

Thanks Patrick,

That works great. I will see how this can work with video and other content.
Shame it requires a framework such as jQuery, but that seems to be a
prerequisite for most javascript solutions these days that I guess I will
just have to get used to.

Steven