W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > October 1999

RE: Techniques 7.2.A & 7.3.A (BLINK/MARQUEE) Last Call

From: Michael Cooper <mcooper@cast.org>
Date: Thu, 28 Oct 1999 16:09:30 -0400
To: "WAI ER IG List" <w3c-wai-er-ig@w3.org>
I'd say 7.2.A and 7.3.A look fine.

Re detecting Marquee-causing scripts in 7.3.B: There are various levels of
sophistication of course and I'm sure our products will move up the ladder
as time allows. If we're doing much parsing of script content at all, we
should be able to detect the action of setting the value of, usually, a form
control within a loop. Often this will be associated with a
window.setTimeout() function. For instance, something like

	do {setTimeout("document.forms[0].elements[0].value = 'Scrolling Text'",
50);} while true;

This syntax might not be 100% correct but is the general idea (not to
mention that as the text doesn't change in each pass it wouldn't actually
scroll in this example). The important feature is setting the value of a
form control or possibly the content of a DIV section in an unterminated

Or, equally or more likely, would be a simpler syntax using the setInterval
function, which doesn't require a loop:

	setInterval(document.forms[0].elements[0].value = 'Scrolling Text'", 50);

Here, the important feature is that setting the value of the form control is
an argument to the setInterval function rather than a statement in the loop,
but these two should be equivalent and we could check for both. Of course,
the statement that updates the value is most likely to be a function the
user has declared elsewhere, so we would have to know to look at that
function and see if it does that, so that's another level of complexity in
reading the script. But if we're interested in it it's possible.


> -----Original Message-----
> From: w3c-wai-er-ig-request@w3.org
> [mailto:w3c-wai-er-ig-request@w3.org]On Behalf Of Chris Ridpath
> Sent: Thursday, October 28, 1999 12:29 PM
> To: WAI ER IG List
> Subject: Techniques 7.2.A & 7.3.A (BLINK/MARQUEE) Last Call
> If there are no objections, I'll mark the techniques 7.2.A and 7.3.A as
> 'discussion complete'.
> http://www.w3.org/WAI/ER/IG/ert/#Technique7.2.A
> http://www.w3.org/WAI/ER/IG/ert/#Technique7.3.A
> We now have a demo version of A-Prompt ready so that you can test the
> implementation of this technique. It's available at:
> http://aprompt.snow.utoronto.ca/GetAprompt.html
> This version is for evaluation by the list only and should not be
> distributed.
> Please take a look and let me know if you have any comments.
> I haven't heard anything about technique 7.3.B which deals with
> SCRIPTS. Should we leave this one in?
> Chris
Received on Thursday, 28 October 1999 16:15:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:29 UTC