Customizer Theme Switcher: Fix tabbing order if section is open.

see #31289.
Built from https://develop.svn.wordpress.org/trunk@32087


git-svn-id: http://core.svn.wordpress.org/trunk@32066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-04-08 19:03:25 +00:00
parent f7fd1665ae
commit 15f24a7730
3 changed files with 4 additions and 2 deletions

View File

@ -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 );
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta4-32086';
$wp_version = '4.2-beta4-32087';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.