- From: Chris Ridpath <chris.ridpath@utoronto.ca>
- Date: Fri, 29 Oct 1999 10:17:12 -0400
- To: "WAI ER IG List" <w3c-wai-er-ig@w3.org>
Re: 7.3.B - Marquee SCRIPTS Thanks for the comments. I'll leave this technique in the document, mark it as 'under discussion' and add your comments. We can come back to it as more information on scripts that cause marquees is uncovered. Chris ----- Original Message ----- From: Michael Cooper <mcooper@cast.org> To: WAI ER IG List <w3c-wai-er-ig@w3.org> Sent: Thursday, October 28, 1999 4:09 PM Subject: RE: Techniques 7.2.A & 7.3.A (BLINK/MARQUEE) Last Call > 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 > loop. > > 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. > > Michael > > > -----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 > > MARQUEES in > > SCRIPTS. Should we leave this one in? > > > > Chris > > > >
Received on Friday, 29 October 1999 10:17:28 UTC