Can the tabindex be disabled for widget

0
I'm trying to work with my application with keyboard only, but my problem is that some custom widgets in the page are getting the focus. This means that I'll have to tab twice to actually get to the next input field. For example the CSS selector widget should never get the focus, because I cannot edit anything there. But every custom widget always comes with a tabindex. Is it possible to structurally disable the tabindex for a widget, I couldn't find anything in the documentation regarding the tabindex. I know I can set the tabindex to -1, but I don't want to do that for every use of the widget since that can be forgotten.
asked
1 answers
3

Some widgets set the tabindex to -1 in the initialization. This should be done for all widget without editing possibilities. The lazy reference selector calls

        mxui.dom.removeTabIndex( this.contentNode );
answered