On Feb 24, 2011, at 2:19 AM, tee wrote:
>  
> making sure the focus brought back to the original trigger is something that 
> needs to deal with - a Modal script I use, doesn't offered this feature, it 
> jumps back to the first link.

Maybe not! 
http://jsbin.com/awidi4

But the browsers behave differently so I am not sure if it's a script issue or 
the browsers - using the tab navigation, the close button seems getting in the 
way also.

Firefox appears to be getting right - tab through the gallery or escape it  
halfway (by pressing the escape key) and/or without using arrow key to 
navigation the gallery in the Modal window, it's being brought to the next link 
from the link where you escaped, whereas Webkit goes back to the first link if  
arrow key has not  been used.

For Ajax fetch, it's the same but because there is no focus for Google site 
it's difficult to tell which is the last link. Not sure if it's iFrame, I am 
not able to escape halfway within the Google page.



tee



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to