Four benefits of unobtrusive DOM scripting

The Web Standards Project describes four benefits of unobtrusive DOM scripting in their JavaScript Manifesto.
  1. Usability: An unobtrusive DOM script does not draw the attention of the user - visitors use it without thinking about it.
  2. Graceful degradation: Unobtrusive DOM scripts never generate error messages, in any browser, even when they fail. If features cannot be presented properly, they silently disappear.
  3. Accessibility: If any script fails, the page still delivers its core functions and information via the markup, stylesheets and/or server-side scripting.
  4. Separation: For the benefit of other and future web developers, all JavaScript code is maintained separately, without impacting other files of script, markup or code.[13]

Comments

Popular posts from this blog