diff options
| author | Patrick H. Lauke <[email protected]> | 2021-03-03 20:38:29 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2021-03-03 20:38:29 +0000 |
| commit | 3b40fdf38999d4815dabd989b1e55f9d03e80f6a (patch) | |
| tree | 3da267dbde438f144998bc59a55cb5b3cd93e70d | |
| parent | d476cfaa70b17c9dec7c3af19c93e83246b79a3b (diff) | |
| download | bootstrap-3b40fdf38999d4815dabd989b1e55f9d03e80f6a.tar.xz bootstrap-3b40fdf38999d4815dabd989b1e55f9d03e80f6a.zip | |
More tweakage
| -rw-r--r-- | js/tests/unit/tab.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js index fb4220a79..356b54da3 100644 --- a/js/tests/unit/tab.js +++ b/js/tests/unit/tab.js @@ -303,11 +303,11 @@ $(function () { .bootstrapTab('show') }) - QUnit.test('selected tab should have aria-selected', function (assert) { + QUnit.test('selected tab should have correct aria-selected', function (assert) { assert.expect(8) var tabsHTML = '<ul class="nav nav-tabs" role="tablist">' + - '<li><button type="button" data-target="#home" role="tab">Home</button></li>' + - '<li><button type="button" data-target="#profile" role="tab">Profile</button></li>' + + '<li><button type="button" data-target="#home" role="tab" aria-selected="false">Home</button></li>' + + '<li><button type="button" data-target="#profile" role="tab" aria-selected="false">Profile</button></li>' + '</ul>' var $tabs = $(tabsHTML).appendTo('#qunit-fixture') |
