Skip to content

Commit

Permalink
Rollback change of aria-label on SVG tooltip, since it will come back…
Browse files Browse the repository at this point in the history
… from Bootstrap PR twbs/bootstrap#40808
  • Loading branch information
hannahiss committed Sep 10, 2024
1 parent d00ab4b commit d2295d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/components/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ With an SVG:
<!--Boosted mod: added an aria-label="Default tooltip" because the title is automatically removed by JS-->

<div class="bd-example tooltip-demo">
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" data-bs-title="Default tooltip" aria-label="Focus or hover to open default tooltip">
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" data-bs-title="Default tooltip" aria-label="Default tooltip">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 100 100" aria-hidden="true">
<rect width="100%" height="100%" fill="#563d7c"/>
<circle cx="50" cy="50" r="30" fill="#007bff"/>
Expand Down

0 comments on commit d2295d2

Please sign in to comment.