handling cursor down event in tabbar/multiview

I would like to continue to be able to use the left right cursor keys to cycle through tab but would like the cursor down key to result in a focus change to the currently selected view. In the case below to the list view.

Is there a way to do this?

http://webix.com/snippet/834c365a

When I’m in the list view if I hit escape I would like the focus to return to the tabbar.

Any help you could provide would be much appreciated, been fighting with this for days now.

thanks.

if you want to set focus only on mousedown, then you should handle global mousedown event, check if it is related to your tabbar and set focus to multiview’s activeid.
http://webix.com/snippet/c5a61841 here is shown how to set focus on any viewchange. to blur on escape, you need to handle keydown event and do related action.

Such tabbar behaviour is connected with accessibility, and best practices suggest that both left/right and up/down keys should be used for switching between tab panels. Now it is not possible to customize this navigation pattern.

But you can use the tab key to navigate to the below view as it will be the next in the tab order.

Helga, thank you for your response. Understand the accessibility issues and left/right seem appropriate however up/down seem unituative. Apart from that I am working with the following keys, left/right, up/down, enter, escape. No tab hence I need down key to get to the tab view and escape to return to the tab.