Validating Static Web Applications


Performing a Static Web Validation

Once you have installed XULRunner as described here, do this:

  1. There are two ways to perform this validation:
    1. Select an .htm, .html, or .xhtml file from a view that supports displaying these types of files (e.g. the Package Explorer in the Java Perspective, the Navigator View in the Resources Perspective, the Project View in the Web Perspective). Right-click on the resource and select Open with...->Mozilla Browser with Accessibility Validation.

    2. Select the Open web browser with accessibility validation icon () from the main Eclipse toolbar. Select the URL radio button and enter http://www.google.com and select OK.

  2. The Mozilla Browser with Accessibility Validation opens and displays the page along with a validation report in the Validation Report View.

    Note: It may take several seconds for the browser to open when the Eclipse environment is first launched and the browser is opened for the first time because the Mozilla Runtime (XULRunner) is being initialized.

    Notice the new report entry in the Report Manager View.

  3. Use the ACTF Mozilla browser like you would any web browser. As you click on links and are brought to new pages, notice that new reports are gathering in the Report Manager View and the corresponding report entries in the Validation Report View.

  4. If your web content uses JavaScript to manipulate the DOM as different components are being manipulated on the page, you may see additional report entries in the Validation Report View. (Additional reports entries will be generated only if one of the two supported event types noted above is executed.)