mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 08:34:08 +02:00
Docs: add aria-hidden="true"
to decorative SVGs (#40691)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<section class="row g-3 g-md-5 mb-5 pb-5 justify-content-center">
|
<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">
|
<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>
|
<h3 class="fw-semibold">Install via package manager</h3>
|
||||||
<p class="pe-lg-5">
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 py-lg-4 ps-lg-5 border-lg-start">
|
<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>
|
<h3 class="fw-semibold">Include via CDN</h3>
|
||||||
<p class="pe-lg-5">
|
<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>.
|
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>.
|
||||||
|
Reference in New Issue
Block a user