<li class="tabs-title{% if 'active' in link.css_class %} is-active{% endif %}"{% if 'active' in link.css_class %} aria-selected="true"{% endif %}>
    <a href="#{{ link.css_id }}">
        {{ link.name|capfirst }}{% if item_has_errors %} <span class="label alert round mark">!</span>{% endif %}
    </a>
</li>
