mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user