troubleshooting Question

How do I keep user from moving focus behind a jquery thickbox using the tab key?

Avatar of ctangent
ctangent asked on
JavaScriptCSS
5 Comments1 Solution676 ViewsLast Modified:
I have a web form on a jquery thickbox. When the user tabs off of the thickbox (which the form elements are the last elements on the page) the next item that is highlighted by the tab key is address bar of the browser. Once these are tabbed through the first elements that are accessed on the page are the items behind the thickbox that are inaccessible by the mouse.

One solution I am considering is adding to the first item of the page an "onFocus" event that will switch the focus to the first item in the thickbox if the thickbox is open...however, this may be a complicated fix. Is there another solution?

How do I prevent the user from tabbing to change focus to items below the thickbox, without doing something crazy? Can I do something simple within the JS code that launches the quickbox itself?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros