{% if heading %}
  <h2 class="visually-hidden">{{ heading }}</h2>
{% endif %}
<ul class="tabs clearfix {{modifier_class}}">
  {% for tab in tabs %}
    {% set activeClass = tab.active ? 'is-active' : '' %}
    <li class="tabs__tab {{ activeClass }}">
      {% block link %}
        <a href="{{ tab.url }}" class="tabs__tab-link {{ activeClass }}">
          {{ tab.text }}
          {% if tab.active %}
            <span class="visually-hidden">{{ activeLabel|default('(active tab)') }}</span>
          {% endif %}
        </a>
      {% endblock link %}
    </li>
  {% endfor %}
</ul>
