You've already forked snikket-web-portal
Make clipboard button accessible
Without the @href, it is not accessible at all because it is not considered an active element.
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
{% macro clipboard_button(data, show_label=False, caller=None, class=None) -%}
|
||||
{%- set label = caller() -%}
|
||||
<a class="button{% if class %} {{ class }}{% endif %}"
|
||||
href="#"
|
||||
{% if not show_label %}
|
||||
aria-label="{{ label }}"
|
||||
title="{{ label }}"
|
||||
|
||||
Reference in New Issue
Block a user