From c3143d4bd06b92a67e4bcf29ee40d411356d84af Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 8 Apr 2015 19:02:57 +0000 Subject: [PATCH] Customizer Theme Switcher: Fix tabbing order if section is open. see #31289. git-svn-id: https://develop.svn.wordpress.org/trunk@32087 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/customize-controls.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/js/customize-controls.js b/src/wp-admin/js/customize-controls.js index f8a64dc2dd..3c201bf6c0 100644 --- a/src/wp-admin/js/customize-controls.js +++ b/src/wp-admin/js/customize-controls.js @@ -723,6 +723,7 @@ } } ); topPanel.attr( 'tabindex', '-1' ); + changeBtn.attr( 'tabindex', '-1' ); customizeBtn.focus(); } else { siblings.removeClass( 'open' ); @@ -735,6 +736,7 @@ } } ); topPanel.attr( 'tabindex', '0' ); + customizeBtn.attr( 'tabindex', '0' ); changeBtn.focus(); container.scrollTop( 0 ); }