skip to main content
Programmer's documentation > Building Web Applications > Accessible displays in web applications > Enabling keyboard navigation
 
Enabling keyboard navigation
Your JViews product introduces keyboard navigation in JViews web components for both JSF™ (JSF) and JavaScript™ applications. When you have enabled keyboard navigation in your JViews web application, you can interact with JViews web components by using the keyboard instead of the mouse. JViews also introduces a hot key customization mechanism that you can use to define your own hot keys associated with specific actions.
Before you can use this keyboard accessibility feature to interact with JViews web applications, you must first enable it.
In JSF applications, you must set the accessible attribute value of the View tag to true as shown in the following code example.
<jvgf:ganttView id="gantt" chart="#{ganttBean.gantt}"
                     style="width:800px;height:400px" imageFormat="PNG" ... accessible="true">
...
...
</jvgf:ganttView>
In JavaScript applications, you must first import IlvAccessibilityInteractor into your application as shown in the following code example.
<script TYPE="text/javascript" src="script/IlvAccessibilityInteractor.js"></script>
You must then call the setAccessible method of your View object, for example:
 
 var gantt= new IlvGanttView(x, y, w, h);
...
...
  gantt.setAccessible(true);
...
...

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.