Previous Next |
Traversing and Scrolling FormsUsers need a way to move through forms that are more than one screen long. Devices often use arrow keys to allow users to traverse or scroll (or both). Traversal moves the focus highlight up or down one item or item element at a time. Scrolling moves smoothly through a form, often approximately a screen at a time. Traversal can result in scrolling: If a user traverses to the end of the screen, a device might scroll a new screen of information into view. Scrolling, on the other hand, does not result in traversal and therefore does not change which item has focus. MIDP Implementors
Whether a device supports traversal, scrolling, or both, users need to know when a form is more than one screen long, and when they are at the top or bottom of a form. A scroll indicator is used for this purpose.
TraversalHow traversal operates on a form depends on what input mechanisms are available on it. If the device has only an Up and Down button, then traversal will move through the items on a form in the order they are presented. In some cases moving Down will actually move the traversal highlight to the right if that is where the next item is. If a device has Up, Down, Left, and Right controls, then traversal can be two-dimensional. The user can press Down or Up to move to the next row and press Right or Left to move to the next item in a row. Other devices might not support traversal. For example, a device with a touch screen might not have a way for users to move their focus one element at a time. It may give the user a way to scroll through the form, and expect the user to tap an element to give it focus. MIDP Implementors
In order to avoid traps, you must resolve the interaction between using keys to traverse and using them to edit items. For example, if you want to use the Left and Right arrow keys to edit the values on an interactive gauge, then you cannot use those keys to traverse into and out of the item. In that case, you could use only Up and Down to traverse into and out of gauges. In addition to gauges, exclusive- and multiple-choice groups, pop-up choice groups, and text fields require traversal solutions that are tuned to the input keys available on the device.
Scrolling
The amount of the screen that scrolls at a time is device-dependent. Scrolling too far, though, can make it difficult for the user to know where they are on the form. They could become concerned that they have missed one or more items.
|
Previous Next |