Skip to content

Commit

Permalink
Add aria-label to clipboard-copy tag (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
brynpickering authored Jul 4, 2024
1 parent 2c1a711 commit e6d27f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocs_jupyter/templates/mkdocs_html/notebook.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ mkdocs-material #}
{% endif %}
<div class="CodeMirror cm-s-jupyter">
<div class="zeroclipboard-container">
<clipboard-copy for="cell-{{ vars.cell_id }}">
<clipboard-copy for="cell-{{ vars.cell_id }}", aria-label="Copy to Clipboard">
<div>
<span class="notice" hidden>Copied!</span>
<svg aria-hidden="true" width="20" height="20" viewBox="0 0 16 16" version="1.1" data-view-component="true" class="clipboard-copy-icon">
Expand Down

0 comments on commit e6d27f3

Please sign in to comment.