diff options
author | Laussel Loïc <loic.laussel@orange.com> | 2020-03-28 10:51:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 10:51:24 +0300 |
commit | 7ce29d75f38f2c81f57e8a6cf14c510655e2e316 (patch) | |
tree | d597a02ade1bcb15be50a658402394e3b37e8317 /js/tests/visual/collapse.html | |
parent | 860b511e0339df6c5baffa9671c84ef5f0c26abd (diff) |
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/collapse.html')
-rw-r--r-- | js/tests/visual/collapse.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/visual/collapse.html b/js/tests/visual/collapse.html index 1e1f7f967b..0bc82923ec 100644 --- a/js/tests/visual/collapse.html +++ b/js/tests/visual/collapse.html @@ -11,7 +11,7 @@ <h1>Collapse <small>Bootstrap Visual Test</small></h1> <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"> @@ -26,7 +26,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"> @@ -40,7 +40,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"> @@ -54,7 +54,7 @@ </div> </div> </div> - <div class="card"> + <div class="card" role="presentation"> <div class="card-header" role="tab" id="headingFour"> <h5 class="mb-0"> <a class="collapsed" data-toggle="collapse" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour"> |