File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -83,25 +83,16 @@ define([
83
83
84
84
/**
85
85
* When the widget gets instantiated, the first tab that is not disabled receive focusable property
86
- * Updated: for accessibility all tabs receive tabIndex 0
86
+ * All tabs receive tabIndex 0
87
87
* @private
88
88
*/
89
89
_processTabIndex : function ( ) {
90
90
var self = this ;
91
91
92
92
self . triggers . attr ( 'tabIndex' , 0 ) ;
93
93
$ . each ( this . collapsibles , function ( i ) {
94
- if ( ! $ ( this ) . collapsible ( 'option' , 'disabled' ) ) {
95
- self . triggers . eq ( i ) . attr ( 'tabIndex' , 0 ) ;
96
-
97
- return false ;
98
- }
99
- } ) ;
100
- $ . each ( this . collapsibles , function ( i ) {
101
- $ ( this ) . on ( 'beforeOpen' , function ( ) {
102
- self . triggers . attr ( 'tabIndex' , 0 ) ;
103
- self . triggers . eq ( i ) . attr ( 'tabIndex' , 0 ) ;
104
- } ) ;
94
+ self . triggers . attr ( 'tabIndex' , 0 ) ;
95
+ self . triggers . eq ( i ) . attr ( 'tabIndex' , 0 ) ;
105
96
} ) ;
106
97
} ,
107
98
You can’t perform that action at this time.
0 commit comments