Four benefits of unobtrusive DOM scripting
- Usability: An unobtrusive DOM script does not draw the attention of the user - visitors use it without thinking about it.
- 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.
- Accessibility: If any script fails, the page still delivers its core functions and information via the markup, stylesheets and/or server-side scripting.