This is an old revision of the document!

1.2. Implement alternatives to JavaScript

Whenever content or functionalities are produced using JavaScript, remember to put an alternative into place. The alternative should allow the user to access similar content or functionalities if JavaScript is not activated on the user workstation.

The table below lists some examples of standard JavaScript uses, with a suggestion of an alternative when JavaScript is deactivated.

When JavaScript is enabled When JavaScript is disabled
Error management of a form is performed on the client side. Error management of a form is performed on the server side.
An accordion system allows for the dynamic hiding and display of specific content. All content is shown on the page, with one section following the other.
An interactive map indicates the physical address of an organisation. The postal address of the organisation is indicated in text format.
notices/interfaces-riches-javascript/mettre-en-place-des-alternatives-a-javascript.1367251598.txt.gz · Last modified: 29 April 2013 at 18:06 by Sébastien Delorme (Atalan)

Project coordinated by Atalan.

In partnership with: