Add aria label

This commit is contained in:
Cotes Chung 2021-09-17 18:59:49 +08:00
parent e5bf234835
commit 2417db656c

View file

@ -126,7 +126,7 @@
{% assign _new_content = _new_content | append: _snippet
| append: '<div class="code-header" text-data="'
| append: _text
| append: '"><button data-original-title="'
| append: '"><button aria-label="copy" data-original-title="'
| append: site.data.locales[lang].post.button.copy_code.succeed
| append: '"><i class="far fa-clone"></i></button></div>'
| append: '<div class="highlight"><code>'