Unobtrusive JS: use javascript and remain accessible

What does it do ?

Unobtrusive JS means "using javascript features only to enhance user-experiment, while the application remains usable and accessible (or degrades gracefully) where javascript is not available".

 

In Formidable, the unobtrusive logic is all based on two switches available on all renderlets:

 

hideIfJs=true/false and displayOnlyIfJs=true/false

 

Using a combination of these two will allow your js-feature-rich development to degrade to a more accessible version when needed

Where to get the code ?

See it in action

Javascript IS NOT enabled