WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: NOSCRIPT question

for

From: Christian Heilmann
Date: May 2, 2006 5:50PM


> I can give you an example of NOSCRIPT use that i recommended to a client
> yesterday.
>
> The clients page has a javascript based "glossary" function: when a user
> activates a Javascript link on certain words, content is written to the
> page with the definition of the word. because the content is written to
> the page via javascript it is not available when Javascript is disabled
> or not supported. In this case I recommended that a NOSCRIPT element be
> included containing the word definitions, so that the information is
> available regardless of javascript support.

And how is that more logical than having the definitions at the end of
the page and using target links on the words? This would work without
JavaScript. With JavaScript you can initially hide all the
definitions, loop through all links and display them f.e. as a tooltip
when the user clicks or hovers over the links.

No need for NOSCRIPT, it is in 99.9% of the cases a sad excuse for bad
script planning.

--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/