Skip to content

Commit

Permalink
Examples: improve spinner buttons accessibility (twbs#38958)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and romankupchak93 committed Jan 5, 2024
1 parent 7060b67 commit fe294f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/content/docs/5.3/examples/buttons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@

<div class="d-flex gap-2 justify-content-center py-5">
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
<span class="visually-hidden">Loading...</span>
<span class="spinner-border spinner-border-sm" aria-hidden="true"></span>
<span class="visually-hidden" role="status">Loading...</span>
</button>
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading...
<span class="spinner-border spinner-border-sm" aria-hidden="true"></span>
<span role="status">Loading...</span>
</button>
</div>

Expand Down

0 comments on commit fe294f3

Please sign in to comment.