aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2022-07-27 22:51:08 -0700
committerGitHub <[email protected]>2022-07-28 07:51:08 +0200
commit90c50ab198a4ecffdda6a5ff10fe58cab2c816b2 (patch)
treeeb4931d0929a87630a0336f32684b87b608878e6 /site/content/docs
parent3feaf6ca0b0c6b6e134a8937ca132d43ed949a68 (diff)
downloadbootstrap-90c50ab198a4ecffdda6a5ff10fe58cab2c816b2.tar.xz
bootstrap-90c50ab198a4ecffdda6a5ff10fe58cab2c816b2.zip
Fixes #36770: Add navbar image alt text (#36850)
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/5.2/components/navbar.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.2/components/navbar.md b/site/content/docs/5.2/components/navbar.md
index a1d671a42..bc4792a67 100644
--- a/site/content/docs/5.2/components/navbar.md
+++ b/site/content/docs/5.2/components/navbar.md
@@ -109,7 +109,7 @@ You can replace the text within the `.navbar-brand` with an `<img>`.
<nav class="navbar bg-light">
<div class="container">
<a class="navbar-brand" href="#">
- <img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="" width="30" height="24">
+ <img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="Bootstrap" width="30" height="24">
</a>
</div>
</nav>
@@ -123,7 +123,7 @@ You can also make use of some additional utilities to add an image and text at t
<nav class="navbar bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">
- <img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="" width="30" height="24" class="d-inline-block align-text-top">
+ <img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="Logo" width="30" height="24" class="d-inline-block align-text-top">
Bootstrap
</a>
</div>