@@ -242,7 +242,7 @@ describe('combobox-nav', function () {
242
242
} )
243
243
} )
244
244
245
- describe ( 'with defaulting to first option' , function ( ) {
245
+ describe ( 'with defaulting to the first option being active ' , function ( ) {
246
246
let input
247
247
let list
248
248
let options
@@ -263,7 +263,7 @@ describe('combobox-nav', function () {
263
263
input = document . querySelector ( 'input' )
264
264
list = document . querySelector ( 'ul' )
265
265
options = document . querySelectorAll ( '[role=option]' )
266
- combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'selected ' } )
266
+ combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'active ' } )
267
267
combobox . start ( )
268
268
} )
269
269
@@ -313,7 +313,7 @@ describe('combobox-nav', function () {
313
313
} )
314
314
} )
315
315
316
- describe ( 'with defaulting to focusing the first option' , function ( ) {
316
+ describe ( 'with defaulting to the first option being selected ' , function ( ) {
317
317
let input
318
318
let list
319
319
let combobox
@@ -332,7 +332,7 @@ describe('combobox-nav', function () {
332
332
`
333
333
input = document . querySelector ( 'input' )
334
334
list = document . querySelector ( 'ul' )
335
- combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'focused ' } )
335
+ combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'selected ' } )
336
336
combobox . start ( )
337
337
} )
338
338
0 commit comments