@@ -249,7 +249,7 @@ describe('$aria', function() {
249
249
} ) ;
250
250
251
251
it ( 'should not add a role to a native checkbox' , function ( ) {
252
- compileElement ( '<input type="checkbox" ng-model="val"></div >' ) ;
252
+ compileElement ( '<input type="checkbox" ng-model="val"/ >' ) ;
253
253
expect ( element . attr ( 'role' ) ) . toBe ( undefined ) ;
254
254
} ) ;
255
255
@@ -259,7 +259,7 @@ describe('$aria', function() {
259
259
} ) ;
260
260
261
261
it ( 'should not add a role to a native radio button' , function ( ) {
262
- compileElement ( '<input type="radio" ng-model="val"></div >' ) ;
262
+ compileElement ( '<input type="radio" ng-model="val"/ >' ) ;
263
263
expect ( element . attr ( 'role' ) ) . toBe ( undefined ) ;
264
264
} ) ;
265
265
@@ -269,7 +269,7 @@ describe('$aria', function() {
269
269
} ) ;
270
270
271
271
it ( 'should not add a role to a native range input' , function ( ) {
272
- compileElement ( '<input type="range" ng-model="val"></div >' ) ;
272
+ compileElement ( '<input type="range" ng-model="val"/ >' ) ;
273
273
expect ( element . attr ( 'role' ) ) . toBe ( undefined ) ;
274
274
} ) ;
275
275
} ) ;
@@ -557,7 +557,7 @@ describe('$aria', function() {
557
557
expect ( element . attr ( 'tabindex' ) ) . toBeUndefined ( ) ;
558
558
} ) ;
559
559
560
- it ( 'should attach tabindex to custom inputs ' , function ( ) {
560
+ it ( 'should attach tabindex to custom ' , function ( ) {
561
561
compileElement ( '<div role="checkbox" ng-model="val"></div>' ) ;
562
562
expect ( element . attr ( 'tabindex' ) ) . toBe ( '0' ) ;
563
563
0 commit comments