Enabling keyboard navigation
JViews 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.
<jvcf:chartView id="chartViewChart"
servlet="chartServlet"
chart="#{bankBean.chart}" ... accessible="true">
...
...
</jvcf:chartView>
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 chart= new IlvChartView(x, y, w, h);
...
...
chart.setAccessible(true);
...
...
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.