Difference between revisions of "ARIA Figure Role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
 
The JAWS scripting language has functions and scripts.  Scripts can be associated with keystrokes -- functions can not be directly associated with keystrokes.  Refer to the figure below of a sample script using the say function.
 
The JAWS scripting language has functions and scripts.  Scripts can be associated with keystrokes -- functions can not be directly associated with keystrokes.  Refer to the figure below of a sample script using the say function.
   <div role="figure" aria-describedby="cap">
+
   <div role="figure" aria-describedby="cap" aria-label="Script sample">
 
     <pre>
 
     <pre>
 
     <code>
 
     <code>

Revision as of 01:46, 8 June 2017

The JAWS scripting language has functions and scripts. Scripts can be associated with keystrokes -- functions can not be directly associated with keystrokes. Refer to the figure below of a sample script using the say function.

    
      Script sayGameOver()
         say(msg_game_over,ot_message)
      EndScript
    
    
JAWS script sample