| 4959 | | // Add 'selected' class to model, set aria-checked to true and make the checkbox tabable. |
| 4960 | | this.$el.addClass( 'selected' ).attr( 'aria-checked', true ) |
| 4961 | | .find( '.check' ).attr( 'tabindex', '0' ); |
| | 4959 | // Add 'selected' class to model, set aria-checked to true. |
| | 4960 | this.$el.addClass( 'selected' ).attr( 'aria-checked', true ); |
| | 4961 | // Make the checkbox tabable, except in media grid (bulk select mode). |
| | 4962 | if ( 'library' !== this.controller._state ) { |
| | 4963 | this.$el.find( '.check' ).attr( 'tabindex', '0' ); |
| | 4964 | } |