WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: design/web standards


From: Randy Pearson
Date: Nov 14, 2003 10:24AM

> As for the <noscript> issue:
> The <noscript> element is intended to serve as an alternative
> presentation or means to access what is being presented from
> the client-side scripting. For example: if you use javascript
> for a fly-out menu or dropdown menu for navigation, you would
> put an equivalent list of links in your <noscript> element.

What is the recommended practice when a particular <scrip> tag does not
require any non-JS counterpart at that particular location in the document?
For example when loading an external JS file, calling a JS function etc.
Should you just add an empty <noscript> just to keep accessibility checkers

<script type="text/javascript">function abc(){...}</script>
<noscript><!-- nothing needed at this location --></noscript>

This is sort of like <table summary="layout"> or <img alt="">.

-- Randy

To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/