diff options
| author | Laussel Loïc <[email protected]> | 2020-03-28 08:51:24 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-28 09:51:24 +0200 |
| commit | 7ce29d75f38f2c81f57e8a6cf14c510655e2e316 (patch) | |
| tree | d597a02ade1bcb15be50a658402394e3b37e8317 /js/tests/visual/modal.html | |
| parent | 860b511e0339df6c5baffa9671c84ef5f0c26abd (diff) | |
| download | bootstrap-7ce29d75f38f2c81f57e8a6cf14c510655e2e316.tar.xz bootstrap-7ce29d75f38f2c81f57e8a6cf14c510655e2e316.zip | |
v5 tabs - accessibility issue when using ul/li semantic
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
Diffstat (limited to 'js/tests/visual/modal.html')
| -rw-r--r-- | js/tests/visual/modal.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html index e08f591ef..0d8804678 100644 --- a/js/tests/visual/modal.html +++ b/js/tests/visual/modal.html @@ -55,7 +55,7 @@ <p><a href="#" data-toggle="tooltip" data-placement="top" title="Tooltip on top">This link</a> and <a href="#" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">that link</a> should have tooltips on hover.</p> <div id="accordion" role="tablist"> - <div class="card"> + <div class="card" role="presentation"> <div class="card-header" role="tab" id="headingOne"> <h5 class="mb-0"> <a data-toggle="collapse" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> @@ -70,7 +70,7 @@ </div> </div> </div> - <div class="card"> + <div class="card" role="presentation"> <div class="card-header" role="tab" id="headingTwo"> <h5 class="mb-0"> <a class="collapsed" data-toggle="collapse" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> @@ -84,7 +84,7 @@ </div> </div> </div> - <div class="card"> + <div class="card" role="presentation"> <div class="card-header" role="tab" id="headingThree"> <h5 class="mb-0"> <a class="collapsed" data-toggle="collapse" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> |
