Skip to content
Snippets Groups Projects
Commit c1b323d4 authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'feature/ISTWCMS-7272-kpaxman-catalog_tab_a11y' into '1.1.x'

ISTWCMS-7272: add role for links in tabs and fix grammar on tab label

See merge request !261
parents 569c32af 8e59b5c3
No related branches found
No related tags found
1 merge request!261ISTWCMS-7272: add role for links in tabs and fix grammar on tab label
<div class="uw-tabs{% if tabs_modifier_class %} {{ tabs_modifier_class }}{% endif %}">
<div class="uw-tab" {% if tabs_modifier_class != "uw-exp-col" %} role="tablist" aria-label="Multi-tab-list" {% endif %}>
<div class="uw-tab" {% if tabs_modifier_class != "uw-exp-col" %} role="tablist" aria-label="Multi-tab list" {% endif %}>
{% for type in content_list %}
{% if tab_type == "link" %}
<a href="{{ type.url }}" class="uw-tablinks {{ button_modifier_classes }}{% if type.active %} active{% endif %}">{{ type.text }}</a>
<a href="{{ type.url }}" class="uw-tablinks {{ button_modifier_classes }}{% if type.active %} active{% endif %}" role="tab">{{ type.text }}</a>
{% elseif tab_type == "button" %}
{% set button_class -%}
uw-tablinks {{ button_modifier_classes }}{% if type.button_class %} {{ type.button_class }}{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment