From 5c095503837f3c701e8556e2a5912db00a4d7026 Mon Sep 17 00:00:00 2001 From: Christopher McCulloh Date: Wed, 14 Jun 2017 09:53:01 -0400 Subject: [PATCH] (GH1964) sets root tree element tabindex to -1 on tree item focus so that shift+tab will work --- js/tree.js | 20 ++++++++++++++++++++ test/tree-tests/tab-indexes.js | 5 ++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/js/tree.js b/js/tree.js index ba011d60d..1bf62fb09 100644 --- a/js/tree.js +++ b/js/tree.js @@ -522,6 +522,26 @@ // PRIVATE FUNCTIONS var fixFocusability = function fixFocusability ($tree, $branch) { + /* + When tree initializes on page, the `