W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2001

RE: Any examples of <NOSCRIPT>?

From: Kynn Bartlett <kynn@reef.com>
Date: Tue, 20 Feb 2001 19:16:39 -0800
Message-Id: <5.0.2.1.0.20010220190756.05d121e8@mail.idyllmtn.com>
To: jim@jimthatcher.com, jim@jimthatcher.com, "W3c-Wai-Ig@W3. Org" <w3c-wai-ig@w3.org>
At 06:33 PM 2/20/2001, Jim Thatcher wrote:
>I don't understand how you can say that they are providing "equivalent
>content" with their NOSCRIPT tag. The NOSCRIPT content says that when you
>leave the site with scripting enabled you will get an alert. You don't get
>that alert when scripting is turned off. The scripting content is the alert.
>
>It does NOT provide that "alert" content in alternative form --- or I am
>missing what you are trying to say?

This is where I think we are having some problems in communication.

The <noscript> element's content contains the following:

All external links to federal sites include an exit Java Script pop-up
disclaimer that includes the following language. "You are now leaving the
Section 508 website.  Thank you for visiting our site.  We welcome your
comments on how we can make our site more useful."

The "information" ("content") being conveyed is the thankyou and
the invitation for comments.  One way they are conveying it is with
a pop-up when you leave the site.  Another way to convey that
information is to tell you "you would see a pop-up, but since you
can't, here's what it would say."

So the Section508 site _is_ providing the information.  It's
just not providing it in a very clever or usable way.

If I were creating multiple edaptations for this site -- and for
this example we'll only concern ourselves with two, one for
javascript enabled and one for non-javascript -- I would take the
following approach instead:

(1) Eliminate <noscript> (which means it would no longer fit your
     request for an example! this is the point of edaptive web
     sites, to eliminate fall-throughs when possible)
(2) Make the javascript version function as it does now
(3) Make the non-javascript version redirect to a server-side
     script, rewriting outside URLs like this:
     http://www.section508.gov/cgi-bin/leaving?http://www.w3.org/
(4) Write a script (/cgi-bin/leaving) that forms a page like this:

     ...
     <p>
       You are now leaving the Section 508 website.  Thank you for
       visiting our site.  All your base are belong to us.  We
       welcome your comments on how we can make our site more useful.
     </p>
     <p><a href="http://www.w3.org/">Continue to external web site</a></p>
     ...

That way you don't -have- to use a <noscript>, and yet you still get
the same -effect- of a pop-up:  the "goodbye" message appears whenever
ANYONE leaves the site.

Which means that I haven't really provided you with a good <noscript>
use example?  Damn, I suck, I'll have to work on that later.  For now
I am behind on my Reef work. ;)


-- 
Kynn Bartlett <kynn@reef.com>
Technical Developer Liaison
Customer Management/Edapta
Reef North America
Tel +1 949-567-7006
_____________________________________
ALL YOUR BUSINESS ARE BELONG TO US.
_____________________________________
http://www.reef.com
Received on Tuesday, 20 February 2001 22:06:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:53 GMT