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

Re: QUESTION: use of JavaScript to comply with Sect 508

From: David Woolley <david@djwhome.demon.co.uk>
Date: Sun, 7 Jan 2001 17:03:20 +0000 (GMT)
Message-Id: <200101071703.f07H3K120419@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org
> David, do you know what are the circumstances under which such items that
> would be rendered via JavaScript appear in the DOM even though they have not
> been rendered visually?

The wrong way of doing this is to initialise their absolute position to be
off the screen.  A better way is to give them a CSS attribute (display?)
to make them invisible.

NB  You are not really talking about the web in general here, but really
about users of recent versions of Internet Explorer.  These effects almost
certainly rely on the Microsoft proprietory document object model, or they
dynamically detect IE and Netscape (and the rest just have to reverse engineer
and emulate one of these).

(A lot of the off topic questions on the www-html list are essentially
people confusing browser object model scripting with HTML and expecting that
it is in some way standardised across browsers.  Object models are popularly
known as Javascript and Javascript is popularly known as HTML.)

Note the only part of Microsoft for which I permit JS by default is the
software updates site (an essential part of the site for anyone using
JS - you should ideally check it daily as the hackers will!)  I generally
only notice Javascript when it doesn't fall back cleanly.
Received on Sunday, 7 January 2001 12:03:24 GMT

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