mirror of https://github.com/twbs/bootstrap.git
Fix accessibility of examples buttons (#37498)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
This commit is contained in:
parent
5f67d38bb2
commit
cc25d6f10c
|
@ -32,10 +32,10 @@
|
||||||
<small class="font-monospace text-muted text-uppercase">{{- $lang -}}</small>
|
<small class="font-monospace text-muted text-uppercase">{{- $lang -}}</small>
|
||||||
<div class="d-flex ms-auto">
|
<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">
|
<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>
|
||||||
<button type="button" class="btn-clipboard mt-0 me-0" title="Copy to clipboard">
|
<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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue