The Web Content Accessibility Guidelines 2.0 provides numerous parameters related to scripting. Unfortunately there are currently no tools that assist with the testing of how well a script adheres to these guidelines. However, there is one program currently in development that may overcome this issue: Snork.
To use the Snork tool, download it from the Internet and run Snork.wsf. This will open a copy of Internet Explorer at which point you must navigate to the specific URL you are looking to test. When you use a specific page, no links will be extracted. To view the actual report, enter “process:report” in the URL bar of your browser. If you are using an XML validator, enter “process:validate” in the bar. Each URL is added to a floating bar at the top.
For additional assistance, there is an example page that comes with the Snork pack. Do not visit the page with scripts enabled. There is also a subsequent report example that can be generated. There are a few scripting issues the Snork program currently tests for including:
- Automatic location changes
- DoubleClick event handlers
- Content in alerts
- Mailto forms
- Onchange in specific boxes
- The action being performed at specified time intervals
- Statusbar text changing
- onMouseOver devices
- Automated window opening
- No submit buttons on forms
- The writing of content through the document.write command
This is an extremely necessary scripting tool to provide an accurate measure of how well a script or website adheres to the Web Content Accessibility Guidelines 2.0. As new builds and updates are released for Snork, additional useful features will be added to ensure consistency as the standards are upgraded and change. If you utilize scripting in your daily activities, this is an important tool to acquire to ensure compliance.