The A-Prompt test program is used to demonstrate how HTML validation may be integrated into an HTML editor program. This test program uses the A-Prompt DLL module to validate and repair HTML.
The validator has 2 modes of operation:
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 top 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:
The Validation Flags area describes the accessibility problems with the given HTML element.
The bottom 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.
There are 2 ways in which an HTML editor can give the A-Prompt module a file to validate:
The program works the same in either method but we have added these options to show the 2 types of file transfer methods.
(For a technical description of how this works, see the Developer Section at the A-Prompt web site - http://aprompt.snow.utoronto.ca/develop/dll.htm.)
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.
HTML authoring programs send the A-Prompt module their HTML elements. The A-Prompt module checks the HTML elements for accessibility. If the HTML element can be more accessible, a series of dialogs is displayed, allowing the user to fix the element.
To see exactly how the A-Prompt module works, select a HTML element below.
Download the demo version of the program.
[A-Prompt Home] [Overview Of The A-Prompt Toolkit] [See How The Program Works]
[Developer Section] [Download The Demo] [People] [Associated Links]
Last Modified: November 12, 2021