Revision history [back]

click to hide/show revision 1
initial version

asked 2011-07-15 08:27:40 +0800

tvella gravatar image tvella

Can't use tab keys to select the first list item in a list box

Hi,

I am trying to write an application which can be easily navigated via the keyboard to improve accessiblity. I have created a listbox and am having difficulty being able to navigate to it via the tab key from my ZK v5.0.7.1 interface. The objective is to navigate to the first list item in the list box. Once the item is selected (using the tab key) I then should be able to use the up and down arrow keys to navigate across items in the list box. Fortunately the issue can be replicated in your ZK sandbox examples.

Specifically, refering to the Listbox example:

  1. Left click on the drop down box containing a list of mail box folders. The one containing options such as "Inbox", 'Received" and "Draft".
  2. Then attempt to navigate to the email listbox just below using the tab key. You will find that ZK completely ignores the listbox.

This is unintuitive behaviour. I tried to programmatically set the focus of the first list item but I still can't seem to get the listbox into focus and be able to use the up and down key to traverse its list items.

Any help would be appreciated. Thanks, Trevor

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More