aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/shortcodes/example.html
diff options
context:
space:
mode:
authorMewen Le Hô <[email protected]>2022-11-17 04:12:28 +0100
committerGitHub <[email protected]>2022-11-16 19:12:28 -0800
commitcc25d6f10c79a066eafa54d00f6b41a81a3e04a0 (patch)
treeac2794d26430efe02814cc894cf1cefc6b00719b /site/layouts/shortcodes/example.html
parent5f67d38bb2f30f833519f205353ff6ba839fb40f (diff)
downloadbootstrap-cc25d6f10c79a066eafa54d00f6b41a81a3e04a0.tar.xz
bootstrap-cc25d6f10c79a066eafa54d00f6b41a81a3e04a0.zip
Fix accessibility of examples buttons (#37498)
Co-authored-by: Patrick H. Lauke <[email protected]>
Diffstat (limited to 'site/layouts/shortcodes/example.html')
-rw-r--r--site/layouts/shortcodes/example.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html
index 122dc1a15..dc0e10566 100644
--- a/site/layouts/shortcodes/example.html
+++ b/site/layouts/shortcodes/example.html
@@ -32,10 +32,10 @@
<small class="font-monospace text-muted text-uppercase">{{- $lang -}}</small>
<div class="d-flex ms-auto">
<button type="button" class="btn-edit text-nowrap"{{ with $stackblitz_add_js }} data-sb-js-snippet="{{ $stackblitz_add_js }}"{{ end }} title="Try it on StackBlitz">
- <svg class="bi" role="img" aria-label="Try it"><use xlink:href="#lightning-charge-fill"/></svg>
+ <svg class="bi" aria-hidden="true"><use xlink:href="#lightning-charge-fill"/></svg>
</button>
<button type="button" class="btn-clipboard mt-0 me-0" title="Copy to clipboard">
- <svg class="bi" role="img" aria-label="Copy"><use xlink:href="#clipboard"/></svg>
+ <svg class="bi" aria-hidden="true"><use xlink:href="#clipboard"/></svg>
</button>
</div>
</div>