[Accessibility_sig] link question

Moore, Michael Michael.Moore at dars.state.tx.us
Mon Jan 29 14:40:48 CST 2007


The simplest thing is to change to a doctype that does support the
target attribute.  HTML 4.01 is fine.  However, simply using the target
attribute does not indicate to anything other than the browser that the
target will open in a new window.  The best approach is to include text
in the link itself that indicates that link opens in a new window.  A
relatively unobtrusive way to do with is use an icon representing
external content and put the text that indicates that a new window will
open in the alt text.  Wrap the icon in the link text.  Ex. <p>For more
information about Access U visit <a
href="http://www.knowbility.org/">Knowbility.org<img src="myPic.gif"
alt="opens in a new window"></a></p>.

If you still want to use XHTML strict, you will need to use JS to open
the new window.  That is a topic for another day.

Mike 

-----Original Message-----
From: accessibility_sig-bounces at knowbility.org
[mailto:accessibility_sig-bounces at knowbility.org] On Behalf Of Aimee
Ronn (Knowbility)
Sent: Monday, January 29, 2007 2:08 PM
To: accessibility_sig at knowbility.org
Subject: [Accessibility_sig] link question

Hi Everyone,

In my XHTML Strict 1.0 code, I want to indicate that a link opens up in
a new window, but  XHTML Strict 1.0 does not support target="_blank". 
Would someone please explain how to accomplish this?

Thanks.

   - Aimee Ronn


aronn at knowbility.org
www.knowbility.org
voice: 512-305-0312
fax: 512-305-0009

_______________________________________________
Accessibility_sig mailing list
Accessibility_sig at knowbility.org
http://knowbility.org/mailman/listinfo/accessibility_sig_knowbility.org



More information about the Accessibility_sig mailing list