0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Docs: add missing aria-label to SVG with tooltip (#40808)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Failing after 0s
CodeQL / Analyze (push) Failing after 0s
cspell / cspell (push) Failing after 0s
CSS / css (push) Failing after 0s
Docs / docs (push) Failing after 0s
JS Tests / JS Tests (push) Failing after 0s
Lint / lint (push) Failing after 0s
CSS (node-sass) / css (push) Failing after 0s
Release notes / update_release_draft (push) Has been skipped

Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
Hannah Issermann 2024-09-26 15:03:48 +02:00 committed by GitHub
parent 9b00689715
commit a7a45b25a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"/>