@@ -242,7 +242,7 @@ describe('combobox-nav', function () {
242242 } )
243243 } )
244244
245- describe ( 'with defaulting to first option' , function ( ) {
245+ describe ( 'with defaulting to the first option being active ' , function ( ) {
246246 let input
247247 let list
248248 let options
@@ -263,7 +263,7 @@ describe('combobox-nav', function () {
263263 input = document . querySelector ( 'input' )
264264 list = document . querySelector ( 'ul' )
265265 options = document . querySelectorAll ( '[role=option]' )
266- combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'selected ' } )
266+ combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'active ' } )
267267 combobox . start ( )
268268 } )
269269
@@ -313,7 +313,7 @@ describe('combobox-nav', function () {
313313 } )
314314 } )
315315
316- describe ( 'with defaulting to focusing the first option' , function ( ) {
316+ describe ( 'with defaulting to the first option being selected ' , function ( ) {
317317 let input
318318 let list
319319 let combobox
@@ -332,7 +332,7 @@ describe('combobox-nav', function () {
332332 `
333333 input = document . querySelector ( 'input' )
334334 list = document . querySelector ( 'ul' )
335- combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'focused ' } )
335+ combobox = new Combobox ( input , list , { firstOptionSelectionMode : 'selected ' } )
336336 combobox . start ( )
337337 } )
338338
0 commit comments