Use array.indexOf instead of array.some in _onKeyDown.
Allows the user to specify the tabindex of the widget.