Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

window.onblur an IE

Reply with quote Hi Guys.

Here's one that driving me crazy. Confused window.onblur seems to work great in ff, but in IE if the window inquestion opens a new window, the onblur event only fires when the origional window receives the focus again...?

Am I doing something wrong, is this a known limitation? Any workarounds know?

Cheers

creator of Talklets
Talklets ,
Reply with quote Dare I ask why you think it necessary/desirable/okay to mess with windows like this?
Reply with quote Not sure I'm at libity to say just yet (a feature of something still in development).

But it is in the interests of accessibility.

creator of Talklets
Talklets ,
Reply with quote In the intrest of accessibility it far better not to use spaned windows. Not all screen readers will notify the user that a new window was opened. This can cause a lot of confusion for the user, especially if they want to use the back button. Given that spawning new windows can easily be done by the user (and in my experience this is one aspect of the browser that users do know how to control), this is something that is best left up to user choice.

There's also an issue for tabbed browsers. Depending on the users settings the window may open in a new window, or it may open in a new tab.

As for your origional question, try explicitly giving the new window focus.

Jonathan Worent

The early bird gets the worm, but the second mouse gets the cheese.
Reply with quote Hi

Thanks for the words of wisdom, but as I can't discuss what I'm doing entirely (yet) I can't explain why your worries aren't relevant here.

I can't give the other window focus (I don't think) as It may not always be 'my' window. i.e. it may not be on the same domain.

Any ideas?

Cheers

creator of Talklets
Talklets ,

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic