diff options
author | Gaël Poupard <ffoodd@users.noreply.github.com> | 2022-02-24 17:09:07 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2022-02-25 03:41:01 +0300 |
commit | b96cf5aacb7cc9b7b9de2c76e78b688bec4b3f3a (patch) | |
tree | c0981701eb81be666a99fd28193010e50c356157 | |
parent | e4fd8c07668dee927ea04ed519825eb3f4de0dac (diff) |
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 <gael.poupard@gmail.com>
-rw-r--r-- | site/layouts/_default/single.html | 2 | ||||
-rw-r--r-- | site/layouts/partials/docs-navbar.html | 2 | ||||
-rw-r--r-- | site/layouts/partials/home/masthead.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index c6f653e5f3..ae1a41faa7 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -8,7 +8,7 @@ {{ if eq .Title "Examples" }} <div class="d-flex flex-column flex-md-row gap-3"> <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');"> - <svg class="bi me-2"><use xlink:href="#box-seam"></use></svg> + <svg class="bi me-2" aria-hidden="true"><use xlink:href="#box-seam"></use></svg> Download examples </a> <a href="{{ .Site.Params.download.source }}" class="btn btn-lg bd-btn-lg btn-outline-secondary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');"> diff --git a/site/layouts/partials/docs-navbar.html b/site/layouts/partials/docs-navbar.html index 71b8f7daa6..3c79df8df4 100644 --- a/site/layouts/partials/docs-navbar.html +++ b/site/layouts/partials/docs-navbar.html @@ -15,7 +15,7 @@ <div class="d-flex d-lg-none order-3"> <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"> - <svg class="bi" width="24" height="24"><use xlink:href="#three-dots"></use></svg> + <svg class="bi" width="24" height="24" aria-hidden="true"><use xlink:href="#three-dots"></use></svg> </button> </div> diff --git a/site/layouts/partials/home/masthead.html b/site/layouts/partials/home/masthead.html index 33c00c62f5..945bb3ea57 100644 --- a/site/layouts/partials/home/masthead.html +++ b/site/layouts/partials/home/masthead.html @@ -14,7 +14,7 @@ {{ highlight "npm i bootstrap" "sh" "" }} </div> <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');"> - <svg class="bi me-2"><use xlink:href="#book-half"></use></svg> + <svg class="bi me-2" aria-hidden="true"><use xlink:href="#book-half"></use></svg> Read the docs </a> </div> |