1242 Accessibility Chapter 24 (Personal web server) eout specifies how long

1242 Accessibility Chapter 24 eout specifies how long the program should wait after outputting the prompt for users to respond. In the event that the user does not respond before the timeout period expires, lines 36 40 provide a second, shorter prompt that reminds the user to make a selection. When the user chooses the publications option, publications.vxml (Fig. 24.17) loads into the browser. Lines 107 113 define link elements that provide links to main.vxml. Lines 115 117 provide links to the menuelement (lines 121 141), which asks users to select one of the following publications: Java, C or C++. The form elements in lines 143 217 describe books that correspond to these topics. Once the browser speaks the description, control transfers to the form element with an id attribute whose value equals repeat(lines 219 234). Figure 24.18 provides a brief description of each VoiceXML tag that we used in the previous example (Fig. 24.17). VoiceXML Tag Description Assigns a value to a variable. Presents information to users without any interaction between the user and the computer (i.e., the computer does not expect any input from the user). Instructs the computer to pause its speech output for a specified period of time. Specifies an option in a menuelement. Lists all the available options to the user. Exits the program. Contains elements that execute when the computer receives input for a form element from the user.

Gathers information from the user for a set of variables. Transfers control from one dialog to another. Specifies grammar for the expected input from the user. , Indicates a control statement used for making logic decisions. ,
Performs a transfer of control similar to the gotostatement, but a linkcan be executed at any time during the program s execution. Provides user options and then transfers control to other dialogs on the basis of the selected option.
Specifies text to be read to users when they must make a selection. Calls another dialog. After executing the subdialog, the calling dialog resumes control. Declares a variable. Top-level tag that specifies that the document should be processed by a VoiceXML interpreter. Fig. 24.18 Fig. 24.18Fig. 24.FF18ig. 24.18ig. 24.18VoiceXML tags.
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.

Leave a Reply