File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/js/_enqueues/wp/customize Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 16151615 } else {
16161616 expand = function ( ) {
16171617 section . _animateChangeExpanded ( function ( ) {
1618+ backBtn . attr ( 'tabindex' , '0' ) ;
16181619 backBtn . trigger ( 'focus' ) ;
16191620 content . css ( 'top' , '' ) ;
16201621 container . scrollTop ( 0 ) ;
16601661 }
16611662 }
16621663 section . _animateChangeExpanded ( function ( ) {
1663-
1664+ backBtn . attr ( 'tabindex' , '-1' ) ;
16641665 sectionTitle . trigger ( 'focus' ) ;
16651666 content . css ( 'top' , '' ) ;
16661667
27142715 } else {
27152716 expand = function ( ) {
27162717 section . _animateChangeExpanded ( function ( ) {
2718+ backBtn . attr ( 'tabindex' , '0' ) ;
27172719 backBtn . trigger ( 'focus' ) ;
27182720 content . css ( 'top' , '' ) ;
27192721 container . scrollTop ( 0 ) ;
27442746 }
27452747 }
27462748 section . _animateChangeExpanded ( function ( ) {
2747-
2749+ backBtn . attr ( 'tabindex' , '-1' ) ;
27482750 sectionTitle . trigger ( 'focus' ) ;
27492751 content . css ( 'top' , '' ) ;
27502752
You can’t perform that action at this time.
0 commit comments