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:
parent
379393651b
commit
c3143d4bd0
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue