Download The Demo Program

A-Prompt Test Program

The A-Prompt test program is used to demonstrate how HTML validation may be integrated into an HTML editor program.

Quick Start

  1. In the section titled 'Validate Single Element', select a sample HTML element from the 'HTML to be validated' drop-down list.
  2. Select the 'Validate Now' button.
  3. The A-Prompt program will run and present you with a series of dialogs that prompt you to enter accessible HTML.
  4. After selecting 'Done' in the A-Prompt program, the validated HTML element is displayed in the 'Validated HTML returned' text area. The 'Validation Flags' area will describe the accessibility problems with the HTML.

Two Modes Of Operation

The validator has 2 modes of operation:

  1. Validate Single Elements
  2. Validate Entire File

Validate Single Elements

The first mode, 'Single Elements', is used to validate HTML text as it is entered by the user. It can only detect validation problems that occur within the given HTML element. The second mode 'Entire File' is used to validate an entire document and can look for accessibility problems in the entire file.

At the center of the dialog is a section titled 'HTML To Be Validated' that contains the HTML element that is sent to the validator.

Examples of HTML element text are contained in a drop-down list box. You may select an element from the drop-down listbox or enter one of your own.

The centre area of the dialog contains the validated HTML element returned by the validator.

The upper text area displays the element text.

The Return Code area describes the repair state of the HTML. The repair state can be:

  1. No Validation Errors:
  2. Validation Errors, fixed
  3. Validation Errors, part fixed
  4. Validation Errors, not fixed

The Validation Flags area describes the accessibility problems with the given HTML element.

Validate Entire File

The top portion of the dialog contains a section titled 'Validate Entire File'. This section allows you to correct all the accessibility problems within an HTML file. Select the button 'Select file to validate' to select the HTML file to be validated. The A-Prompt validator will look through the entire document, find the accessibility problems and prompt you to make changes.

Program Integration

The A-Prompt Validator may be integrated into an HTML editor program as source code or as a DLL module. For testing purposes, the default method is to integrate it as source code. To try the DLL version of the program, select the 'Use DLL' check box. The operation of the program will be exactly the same but the code will be executed as a DLL module.

[A-Prompt Home] [Overview Of The A-Prompt Toolkit] [See How The Program Works]
[Developer Section] [Download The Demo] [People] [Associated Links]

Last Modified: May 7, 2022