@@ -185,7 +185,7 @@ function __focusNextFocusableNode(treeWalker) {
}
if (nextNode.focus) {
nextNode.focus()
- if (document.activeElement === nextNode) {
+ if (document.activeElement === nextNode && nextNode.tabIndex !== -1) {
return true