Difference between revisions of "ARIA Figure Role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 2: Line 2:
 
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">
 +
    <pre>
 
     <code>
 
     <code>
 
       Script sayGameOver()
 
       Script sayGameOver()
Line 7: Line 8:
 
       EndScript
 
       EndScript
 
     </code>
 
     </code>
 +
    </pre>
 
       <div id="cap">JAWS script sample</div>
 
       <div id="cap">JAWS script sample</div>
 
   </div>
 
   </div>
 
</html>
 
</html>

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