WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: NOSCRIPT question

for

From: Andrew Kirkpatrick
Date: May 2, 2006 7:40PM


> 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.

One way that makes sense is to put the words and definitions in the HTML
and then use a script to hide all the definitions and to show the one
you want at the correct time.

This way you get:
1) to modify the definition in one place if it needs to be changed (as
opposed to changing the definition in js and in noscript)
2) support for jaws users with scripting disabled

AWK