Skip to content

Commit a7a45b2

Browse files
Docs: add missing aria-label to SVG with tooltip (#40808)
Co-authored-by: Julien Déramond <[email protected]>
1 parent 9b00689 commit a7a45b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/5.3/components/tooltips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ And with custom HTML added:
111111
With an SVG:
112112

113113
<div class="bd-example tooltip-demo">
114-
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" data-bs-title="Default tooltip">
114+
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" data-bs-title="Default tooltip" aria-label="Hover or focus to see default tooltip">
115115
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 100 100">
116116
<rect width="100%" height="100%" fill="#563d7c"/>
117117
<circle cx="50" cy="50" r="30" fill="#007bff"/>

0 commit comments

Comments
 (0)