0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

Doc: remove role="group" from some split drop* buttons (#36254)

This commit is contained in:
Julien Déramond 2022-05-24 10:04:59 +02:00 committed by GitHub
parent 6a500849de
commit e4dc2e91a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -95,7 +95,7 @@
</div> </div>
<div class="col-sm-12 mt-4"> <div class="col-sm-12 mt-4">
<div class="btn-group dropup" role="group"> <div class="btn-group dropup">
<a href="#" class="btn btn-secondary">Dropup split align right</a> <a href="#" class="btn btn-secondary">Dropup split align right</a>
<button type="button" id="dropdown-page-subheader-button-3" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false"> <button type="button" id="dropdown-page-subheader-button-3" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false">
<span class="sr-only">Product actions</span> <span class="sr-only">Product actions</span>
@ -117,7 +117,7 @@
</div> </div>
<div class="col-sm-12 mt-4"> <div class="col-sm-12 mt-4">
<div class="btn-group dropright" role="group"> <div class="btn-group dropright">
<a href="#" class="btn btn-secondary">Dropright split</a> <a href="#" class="btn btn-secondary">Dropright split</a>
<button type="button" id="dropdown-page-subheader-button-4" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false"> <button type="button" id="dropdown-page-subheader-button-4" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false">
<span class="sr-only">Product actions</span> <span class="sr-only">Product actions</span>
@ -139,7 +139,7 @@
</div> </div>
</div> </div>
<!-- dropleft --> <!-- dropleft -->
<div class="btn-group dropleft" role="group"> <div class="btn-group dropleft">
<a href="#" class="btn btn-secondary">Dropleft split</a> <a href="#" class="btn btn-secondary">Dropleft split</a>
<button type="button" id="dropdown-page-subheader-button-5" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false"> <button type="button" id="dropdown-page-subheader-button-5" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false">
<span class="sr-only">Product actions</span> <span class="sr-only">Product actions</span>

View File

@ -488,7 +488,7 @@ Trigger dropdown menus at the left of the elements by adding `.dropleft` to the
</div> </div>
</div> </div>
<div class="btn-group"> <div class="btn-group">
<div class="btn-group dropleft" role="group"> <div class="btn-group dropleft">
<button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false"> <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false">
<span class="sr-only">Toggle Dropleft</span> <span class="sr-only">Toggle Dropleft</span>
</button> </button>
@ -519,7 +519,7 @@ Trigger dropdown menus at the left of the elements by adding `.dropleft` to the
<!-- Split dropleft button --> <!-- Split dropleft button -->
<div class="btn-group"> <div class="btn-group">
<div class="btn-group dropleft" role="group"> <div class="btn-group dropleft">
<button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false"> <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false">
<span class="sr-only">Toggle Dropleft</span> <span class="sr-only">Toggle Dropleft</span>
</button> </button>