Difference between revisions of "Unobtrusive Javascript"

Jump to: navigation, search
m (Unobtrusive javascript moved to Development:Unobtrusive Javascript)
(See also)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
== Unobtrusive Javascript in Moodle ==
 
== Unobtrusive Javascript in Moodle ==
  
Moodle now supports the [[Yahoo! user interface library]] which includes unobstrusive javascript as one of its primary design goals (along with [[Progressive enhancement]] and [[Hijax]]).
+
Moodle now supports the [[YUI|Yahoo! user interface library]] which includes unobtrusive javascript as one of its primary design goals (along with [[Progressive enhancement|Progressive enhancement]] and [[Hijax]]).
  
 
== Unobtrusive Javascript and Accessibility ==
 
== Unobtrusive Javascript and Accessibility ==
Line 15: Line 15:
 
* [[Hijax]]
 
* [[Hijax]]
 
* [[Progressive enhancement]]
 
* [[Progressive enhancement]]
 
 
 
* [http://www.onlinetools.org/articles/unobtrusivejavascript/ online self-training course for Unobtrusive Javascript] (with emphasis on [[Accessibility]])  
 
* [http://www.onlinetools.org/articles/unobtrusivejavascript/ online self-training course for Unobtrusive Javascript] (with emphasis on [[Accessibility]])  
 +
* [[Javascript FAQ]]
 
   
 
   
 
+
[[Category:Accessibility|JavaScript]]
[[Category:Accessibility]]
 
 
[[Category:Javascript]]
 
[[Category:Javascript]]
 
[[Category:AJAX]]
 
[[Category:AJAX]]

Latest revision as of 06:39, 15 June 2011

Unobtrusive Javascript is a new approach to adding enhanced functionality to web pages with Javascript. It follows the lead of CSS, which allowed styling to be extracted from HTML into a seperate layer, by moving Javascript out of the main HTML document and assigning it via structural hooks. This leads to more readable, maintainable and re-usable code.

Unobtrusive Javascript in Moodle

Moodle now supports the Yahoo! user interface library which includes unobtrusive javascript as one of its primary design goals (along with Progressive enhancement and Hijax).

Unobtrusive Javascript and Accessibility

Javascript, and particularly AJAX, are often seen as incompatible with the goals of Accessibility but as long as the various related best practice are followed then the opposite is the case and these technologies can make web apps more usable and accessible. Unobstrusive javascript can certainly aid this process, though use by itself does not guarantee accessibility.

See also