Keyboard interaction

14 Dec 20173 minutes to read

You can use Keyboard shortcut keys as an alternative for mouse actions to interact with the ListBox widget. Please refer the below table for details about short cut keys and its corresponding usage.

Shortcut Key Usage
Enter Selects the focused item
Up Moves to previous item
Down Moves to next item
Left Moves to previous item
Right Moves to next item
Home Moves to first item
End Moves to last item


Initial focus can be done by pressing tab key multiple times until it is focused.

The Incremental search helps in finding the specific item in the ListBox,as the user types the text one or more possible matches for the text are found and the first matched item will be selected.It can be enabled in the ListBox widget using enableIncrementalSearch API. The search can be case sensitive or case insensitive.

  • HTML
  • <ul id="listbox">
            <li>Audi A4</li>
            <li>Audi A5</li>
            <li>Audi A6</li>
            <li>Audi A7</li>
            <li>Audi A8</li>
            <li>BMW 501</li>
            <li>BMW 502</li>
            <li>BMW 503</li>
            <li>BMW 507</li>
            <li>BMW 3200</li>
            <li>Clear Formatting</li>
        <script type="text/javascript">
            jQuery(function ($) {
                    enableIncrementalSearch: true,
                    caseSensitiveSearch: true

    Press tab key to get ListBox focus and press “A” (enable caps lock or press shift + “A” since case sensitive search is enabled) to get the below output.