diff options
| author | Julien Déramond <[email protected]> | 2024-08-05 09:01:59 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-05 09:01:59 +0200 |
| commit | 8c10ee828f56a353f035f832fad45bbb596cf7b9 (patch) | |
| tree | 5c03b8fbfa3208803f8d37ebc7066beddcc05f78 /site | |
| parent | ac831aa4df8e817883c1510f74604ea67e26f179 (diff) | |
| download | bootstrap-8c10ee828f56a353f035f832fad45bbb596cf7b9.tar.xz bootstrap-8c10ee828f56a353f035f832fad45bbb596cf7b9.zip | |
Docs: add `aria-hidden="true"` to decorative SVGs (#40691)
Diffstat (limited to 'site')
| -rw-r--r-- | site/layouts/partials/home/get-started.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/layouts/partials/home/get-started.html b/site/layouts/partials/home/get-started.html index a4abb2eda..394ba1b4b 100644 --- a/site/layouts/partials/home/get-started.html +++ b/site/layouts/partials/home/get-started.html @@ -16,7 +16,7 @@ <section class="row g-3 g-md-5 mb-5 pb-5 justify-content-center"> <div class="col-lg-6 py-lg-4 pe-lg-5"> - <svg class="bi mb-2 fs-2 text-body-secondary"><use xlink:href="#box-seam"></use></svg> + <svg class="bi mb-2 fs-2 text-body-secondary" aria-hidden="true"><use xlink:href="#box-seam"></use></svg> <h3 class="fw-semibold">Install via package manager</h3> <p class="pe-lg-5"> Install Bootstrap’s source Sass and JavaScript files via npm, RubyGems, Composer, or Meteor. Package managed installs don’t include documentation or our full build scripts. You can also <a href="https://github.com/twbs/examples/">use any demo from our Examples repo</a> to quickly jumpstart Bootstrap projects. @@ -28,7 +28,7 @@ </p> </div> <div class="col-lg-6 py-lg-4 ps-lg-5 border-lg-start"> - <svg class="bi mb-2 fs-2 text-body-secondary"><use xlink:href="#globe2"></use></svg> + <svg class="bi mb-2 fs-2 text-body-secondary" aria-hidden="true"><use xlink:href="#globe2"></use></svg> <h3 class="fw-semibold">Include via CDN</h3> <p class="pe-lg-5"> When you only need to include Bootstrap’s compiled CSS or JS, you can use <a href="https://www.jsdelivr.com/package/npm/bootstrap">jsDelivr</a>. See it in action with our simple <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#quick-start">quick start</a>, or <a href="/docs/{{ .Site.Params.docs_version }}/examples/">browse the examples</a> to jumpstart your next project. You can also choose to include Popper and our JS <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#separate">separately</a>. |
