|
1615 | 1615 | } else {
|
1616 | 1616 | expand = function() {
|
1617 | 1617 | section._animateChangeExpanded( function() {
|
| 1618 | + backBtn.attr( 'tabindex', '0' ); |
1618 | 1619 | backBtn.trigger( 'focus' );
|
1619 | 1620 | content.css( 'top', '' );
|
1620 | 1621 | container.scrollTop( 0 );
|
|
1660 | 1661 | }
|
1661 | 1662 | }
|
1662 | 1663 | section._animateChangeExpanded( function() {
|
1663 |
| - |
| 1664 | + backBtn.attr( 'tabindex', '-1' ); |
1664 | 1665 | sectionTitle.trigger( 'focus' );
|
1665 | 1666 | content.css( 'top', '' );
|
1666 | 1667 |
|
|
2714 | 2715 | } else {
|
2715 | 2716 | expand = function() {
|
2716 | 2717 | section._animateChangeExpanded( function() {
|
| 2718 | + backBtn.attr( 'tabindex', '0' ); |
2717 | 2719 | backBtn.trigger( 'focus' );
|
2718 | 2720 | content.css( 'top', '' );
|
2719 | 2721 | container.scrollTop( 0 );
|
|
2744 | 2746 | }
|
2745 | 2747 | }
|
2746 | 2748 | section._animateChangeExpanded( function() {
|
2747 |
| - |
| 2749 | + backBtn.attr( 'tabindex', '-1' ); |
2748 | 2750 | sectionTitle.trigger( 'focus' );
|
2749 | 2751 | content.css( 'top', '' );
|
2750 | 2752 |
|
|
2964 | 2966 | } );
|
2965 | 2967 | } else {
|
2966 | 2968 | panel._animateChangeExpanded( function() {
|
| 2969 | + backBtn.attr( 'tabindex', '0' ); |
2967 | 2970 | backBtn.trigger( 'focus' );
|
2968 | 2971 | accordionSection.css( 'top', '' );
|
2969 | 2972 | container.scrollTop( 0 );
|
|
0 commit comments