{% macro copy_to_clipboard(value, name, thing) %}
  {% if name|lower == thing|lower %}
    <h2 class="copy-to-clipboard__name">
      {{ name }}
    </h2>
  {% endif %}
  <div data-module="copy-to-clipboard" data-value="{{ value }}" data-thing="{{ thing }}" data-name="{{ name }}">
    <span class="copy-to-clipboard__value">
      {%- if name|lower != thing|lower %}<span class="usa-sr-only">{{ thing }}: </span>{% endif %}{{ value -}}
    </span>
    <span class="copy-to-clipboard__notice" aria-live="assertive"></span>
  </div>
{% endmacro %}
