mirror of https://github.com/twbs/bootstrap.git
Docs: add missing `aria-label` to SVG with tooltip (#40808)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
parent
9b00689715
commit
a7a45b25a6
|
@ -111,7 +111,7 @@ And with custom HTML added:
|
|||
With an SVG:
|
||||
|
||||
<div class="bd-example tooltip-demo">
|
||||
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" data-bs-title="Default tooltip">
|
||||
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" data-bs-title="Default tooltip" aria-label="Hover or focus to see default tooltip">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 100 100">
|
||||
<rect width="100%" height="100%" fill="#563d7c"/>
|
||||
<circle cx="50" cy="50" r="30" fill="#007bff"/>
|
||||
|
|
Loading…
Reference in New Issue