[Accessibility_sig] link question
Amy Gelfand
cycle_roundrock at yahoo.com
Mon Feb 5 10:33:38 CST 2007
I did a little research on this (you can find a lot by Googling "xhtml strict open in new window," and it appears that the solution du jour is to replace target="_blank" with rel="external" and then hook into the rel attribute with a javascript that causes the URL to open in a new window.
This way is also a good thing because opening in a new window is a behavior and should be controlled in the behavior layer of the document, not the content layer.
Check out this link: http://www.brucelawson.co.uk/index.php/2005/opening-links-in-new-windows-in-xhtml-strict-2/
The other perspective is that opening in a new window is bad all around and shouldn't be done at all. I think there are a few situations where opening in a new window makes sense, like for PDFs, but as a rule I hate new windows. And don't forget to warn the user about a new window opening!
Hope this helps,
Amy
Amy Gelfand
Web Developer
National Instruments
512-683-8863
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/accessibility_sig_knowbility.org/attachments/20070205/ddf4eb79/attachment-0001.html
More information about the Accessibility_sig
mailing list