Skip to Page Content | Navigation for Module


Navigation for Module 10: Scripts/Java
Page 9 of 19

  1. * Testing Scripts

Testing Scripts for Accessibility

It has been mentioned in other modules that the best way to test your site is to have individuals with disabilities examine it for potential barriers. Because they work with the technology on a day-to-day basis, they will be able to evaluate your site from a different perspective, and point out things of which the developer may not have been aware. Finding someone like this can be difficult; fortunately, there are other approaches to testing your site.

Because there are many individuals who have browsers that are not able to interpret scripting, one of the best ways to test your site is to turn off scripting in your browser and determine if the site is still usable, especially the navigation. This will also give you a feel for how people interact using the keyboard.

To turn off scripting in Internet Explorer:



  1. Under the 'Tools' menu, select 'Internet Options'.
  2. Select the 'Security' tab.
  3. Select the 'Custom Level' button.
  4. Search for the the 'Scripting' section. (see Image 2)

To turn off scripting in Netscape:

  1. Under the 'Edit' menu, select 'Preferences'.
  2. Select 'Advanced'.
  3. Search for the scripting section. (see Image 3)

Lynx was one of the first web browsers, and is often used as a way to check a website overall for accessibility. It is free to download Lynx (Browse to website). Some benefits of testing with Lynx are that it is a text-only browser that does not support scripting and the method of interaction is keyboard navigation. Using Lynx will provide insight into the tabbing order of your site, expose navigational deficiencies, missing alternative text, and can help uncover other basic accessibility barriers. Image 4 offers an example of how Lynx would look; the "Google" website is being viewed.



A JavaScript tester named Snork(Browse to website) has been developed. However, it only works using Internet Explorer on a Windows 98 or later machine. The Snork program has the ability to examine scripts and check for some of the more obvious mistakes as well as generate reports that both identify and present potential solutions to accessibility problems. A sample report from Snork(Browse to website) is available online for your review.

General Scripting Guidelines

The content that has been presented on this page is not complete. It would be difficult to cover all programming scenarios; scripting can create an infinite amount of situations, only limited by the programmers imagination. Below is a list of general scripting guidelines that can be applied in most situations.

The next page will discuss applets and Java.

Top of Page arrow up
       Page 9


 
-- END OF PAGE