Hi Mike, I think there is a misunderstanding here. Removing the onclick event handler from the markup is all that is being done, thereby the unobtrusive value of the exercise. The DOM/JavaScript does not "insert" any links. The link remains intact within the markup as it should be. It merely uses the rel attribute of the <a></a> element as a trigger to launch the new window, as would the onclick event handler attribute if it was placed within the <a></a> element.
Frank -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 10 May, 2007 15:06 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] wa state guidlines question Unfortunately, using JavaScript to insert such links is no more than a fudge - you cannot rely on JavaScript being turned off in a screen-reader users browser, and this cannot be regarded as 'unobtrusive', or even 'progressive enhancement' as it is a fundamental change in behaviour. Mike > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Frank Palinkas > Sent: Thursday, May 10, 2007 11:35 AM > To: wsg@webstandardsgroup.org > Subject: RE: [WSG] wa state guidlines question > > If I read you right, sure it does. You can use unobtrusive > DOM/JavaScript to > replace the onclick event handler in the (x)html markup with > a rel attribute > in the <a></a> element. If the DOM/JavaScript is turned off, > the page will > open through the link supplied as normal in a full, new > window. Also, an > assistive device may read the <a></a> element's title > attribute (if employed) > to identify where the link will take them to if chosen. > > You can find more info on the use of unobtrusive > DOM/JavaScript in Jeremy > Keith's book, "DOM Scripting: Web Design with JavaScript and > the Document > Object Model", and James Edwards and Cameron Adams book "The > JavaScript > Anthology - 101 Tips, Tricks and Hacks". You can check Amazon > for reviews, > etc. on them. > > Hope this helps, > > Kind regards, > > Frank M. Palinkas > Microsoft M.V.P. - Windows Help > W3C HTML Working Group (H.T.M.L.W.G.) - Invited Expert > M.C.P., M.C.T., M.C.S.E., M.C.D.B.A., A+ > Senior Technical Communicator > Web Standards & Accessibility Designer > -------------------------------------------- > website: http://frank.helpware.net > email: [EMAIL PROTECTED] | [EMAIL PROTECTED] > -------------------------------------------- > Member: > Society for Technical Communications (S.T.C.) > Guild of Accessible Web Designers (G.A.W.D.S.) > Web Standards Group (W.S.G.) > -------------------------------------------- > Supergroup Trading Ltd. > Sandhurst, Gauteng, South Africa > website: http://www.supergroup.co.za > -------------------------------------------- > Work: +27 011 523 4931 > Home: +27 011 455 5287 > Fax: +27 011 455 3112 > Mobile: +27 074 109 1908 > -------------------------------------------- > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, 10 May, 2007 12:11 PM > To: wsg@webstandardsgroup.org > Subject: Re: [WSG] wa state guidlines question > > > I believe what Jermayn is asking to keep the web standards > intact, without > opening a new window, as accessibility doesnt allow us to > open pages in new > window. > > suggestions ? > > regards > -P > > Original Message: > ----------------- > From: Nirmal Kumar [EMAIL PROTECTED] > Date: Thu, 10 May 2007 14:21:43 +0530 > To: wsg@webstandardsgroup.org > Subject: Re: [WSG] wa state guidlines question > > > Hi, > You can use this code to open the pdf in a new window ... > <a link target="_blank" href="pdf file name(eg: > OReilly.Head.First.Object.Oriented.Analysis.and.Design.Nov.200 > 6.pdf)">click > here</a> > > Thanks > > On 5/9/07, Jermayn Parker <[EMAIL PROTECTED]> wrote: > > > > Hi group, > > This may only relate to Western Australian people but > someone else may > > know... > > > > I have a page that has links to a pdf and the client wanted to know > > whether it can be linked to a new window or not. They dont > really care > > about best practises etc but rather what the state Internet > guidlines > > are. I have looked through the 107 page doco but cannot > find anything. > > > > Thanks for you rhelp > > Jermayn > > > > > > > ************************************************************** > ************** > **************************************************** > > The above message has been scanned and meets the Insurance > Commission of > > Western Australia's Email security policy requirements for outbound > > transmission. > > > > This email (facsimile) and any attachments may be confidential and > > privileged. If you are not the intended recipient, you are > hereby notified > > that any use, dissemination, distribution or copying of this email > > (facsimile) is strictly prohibited. If you have received this email > > (facsimile) in error please contact the Insurance Commission. > > > > Web: www.icwa.wa.gov.au > > Phone: +61 08 9264 3333 > > > > > > > ************************************************************** > ************** > ***************************************************** > > > > > > ******************************************************************* > > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > > Help: [EMAIL PROTECTED] > > ******************************************************************* > > > > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > -------------------------------------------------------------------- > mail2web LIVE - Free email based on Microsoft® Exchange technology - > http://link.mail2web.com/LIVE > > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************