WebAIM - Web Accessibility In Mind

E-mail List Archives

Javascript modal content focus

for

From: Steven Henderson
Date: Aug 12, 2010 9:42AM


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