@@ -143,8 +143,8 @@ $(function () {
143143 QUnit . test ( 'should not fire shown when tab is already active' , function ( assert ) {
144144 assert . expect ( 0 )
145145 var tabsHTML = '<ul class="nav nav-tabs" role="tablist">' +
146- '<li class="nav-item"><a href="#home" class="nav-link active" role="tab">Home</a></li>' +
147- '<li class="nav-item"><a href="#profile" class="nav-link" role="tab">Profile</a></li>' +
146+ '<li class="nav-item" role="presentation" ><a href="#home" class="nav-link active" role="tab">Home</a></li>' +
147+ '<li class="nav-item" role="presentation" ><a href="#profile" class="nav-link" role="tab">Profile</a></li>' +
148148 '</ul>' +
149149 '<div class="tab-content">' +
150150 '<div class="tab-pane active" id="home" role="tabpanel"></div>' +
@@ -387,8 +387,8 @@ $(function () {
387387 assert . expect ( 6 )
388388 var done = assert . async ( )
389389 var tabsHTML = '<ul class="nav nav-tabs" role="tablist">' +
390- '<li class="nav-item"><a id="tab-home" href="#home" class="nav-link" data-toggle="tab" role="tab">Home</a></li>' +
391- '<li class="nav-item"><a id="tab-profile" href="#profile" class="nav-link" data-toggle="tab" role="tab">Profile</a></li>' +
390+ '<li class="nav-item" role="presentation" ><a id="tab-home" href="#home" class="nav-link" data-toggle="tab" role="tab">Home</a></li>' +
391+ '<li class="nav-item" role="presentation" ><a id="tab-profile" href="#profile" class="nav-link" data-toggle="tab" role="tab">Profile</a></li>' +
392392 '</ul>' +
393393 '<div class="tab-content">' +
394394 '<div class="tab-pane fade" id="home" role="tabpanel"></div>' +
@@ -421,17 +421,17 @@ $(function () {
421421
422422 var html = [
423423 '<ul class="nav nav-tabs" role="tablist">' ,
424- ' <li class="nav-item">' ,
424+ ' <li class="nav-item" role="presentation" >' ,
425425 ' <a class="nav-link nav-tab" href="#profile" role="tab" data-toggle="tab">' ,
426426 ' <button class="close"><span aria-hidden="true">×</span></button>' ,
427427 ' </a>' ,
428428 ' </li>' ,
429- ' <li class="nav-item">' ,
429+ ' <li class="nav-item" role="presentation" >' ,
430430 ' <a id="secondNav" class="nav-link nav-tab" href="#buzz" role="tab" data-toggle="tab">' ,
431431 ' <button class="close"><span aria-hidden="true">×</span></button>' ,
432432 ' </a>' ,
433433 ' </li>' ,
434- ' <li class="nav-item">' ,
434+ ' <li class="nav-item" role="presentation" >' ,
435435 ' <a class="nav-link nav-tab" href="#references" role="tab" data-toggle="tab">' ,
436436 ' <button id="btnClose" class="close"><span aria-hidden="true">×</span></button>' ,
437437 ' </a>' ,
@@ -466,14 +466,14 @@ $(function () {
466466
467467 var html = [
468468 '<ul class="nav nav-tabs" role="tablist">' ,
469- ' <li class="nav-item">' ,
469+ ' <li class="nav-item" role="presentation" >' ,
470470 ' <a class="nav-link nav-tab" href="#home" role="tab" data-toggle="tab">Home</a>' ,
471471 ' </li>' ,
472- ' <li class="nav-item">' ,
472+ ' <li class="nav-item" role="presentation" >' ,
473473 ' <a id="secondNav" class="nav-link nav-tab" href="#profile" role="tab" data-toggle="tab">Profile</a>' ,
474474 ' </li>' ,
475475 '</ul>' ,
476- '<div class="tab-content">' ,
476+ '<div class="tab-content" role="presentation" >' ,
477477 ' <div role="tabpanel" class="tab-pane" id="home">test 1</div>' ,
478478 ' <div role="tabpanel" class="tab-pane" id="profile">test 2</div>' ,
479479 '</div>'
@@ -494,10 +494,10 @@ $(function () {
494494
495495 var html = [
496496 '<ul class="nav nav-tabs" role="tablist">' ,
497- ' <li class="nav-item">' ,
497+ ' <li class="nav-item" role="presentation" >' ,
498498 ' <a class="nav-link nav-tab" href="#home" role="tab" data-toggle="tab">Home</a>' ,
499499 ' </li>' ,
500- ' <li class="nav-item">' ,
500+ ' <li class="nav-item" role="presentation" >' ,
501501 ' <a id="secondNav" class="nav-link nav-tab" href="#profile" role="tab" data-toggle="tab">Profile</a>' ,
502502 ' </li>' ,
503503 '</ul>' ,
0 commit comments