Skip to content

Commit b96cf5a

Browse files
ffooddmdo
authored andcommitted
Updates for aria roles
Update site/layouts/_default/single.html Update site/layouts/partials/docs-navbar.html Update site/layouts/partials/home/masthead.html Co-Authored-By: Gaël Poupard <[email protected]>
1 parent e4fd8c0 commit b96cf5a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

site/layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1 class="bd-title mt-0">{{ .Title | markdownify }}</h1>
88
{{ if eq .Title "Examples" }}
99
<div class="d-flex flex-column flex-md-row gap-3">
1010
<a href="{{ .Site.Params.download.dist_examples }}" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');">
11-
<svg class="bi me-2"><use xlink:href="#box-seam"></use></svg>
11+
<svg class="bi me-2" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
1212
Download examples
1313
</a>
1414
<a href="{{ .Site.Params.download.source }}" class="btn btn-lg bd-btn-lg btn-outline-secondary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">

site/layouts/partials/docs-navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<div class="d-flex d-lg-none order-3">
1717
<button class="navbar-toggler p-2" type="button" data-bs-toggle="offcanvas" data-bs-target="#bdNavbar" aria-controls="bdNavbar" aria-expanded="false" aria-label="Toggle navigation">
18-
<svg class="bi" width="24" height="24"><use xlink:href="#three-dots"></use></svg>
18+
<svg class="bi" width="24" height="24" aria-hidden="true"><use xlink:href="#three-dots"></use></svg>
1919
</button>
2020
</div>
2121

site/layouts/partials/home/masthead.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1 class="mb-3 fw-semibold">Build fast, responsive sites with&nbsp;Bootstrap</h
1414
{{ highlight "npm i bootstrap" "sh" "" }}
1515
</div>
1616
<a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold" onclick="ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');">
17-
<svg class="bi me-2"><use xlink:href="#book-half"></use></svg>
17+
<svg class="bi me-2" aria-hidden="true"><use xlink:href="#book-half"></use></svg>
1818
Read the docs
1919
</a>
2020
</div>

0 commit comments

Comments
 (0)