Commit dd952151 authored by Mohammad Fayoumi's avatar Mohammad Fayoumi Committed by Rajab Natshah
Browse files

Issue #3275781 by Mohammad Fayoumi: Fix Accessibility issue on [aria-*]...

Issue #3275781 by Mohammad Fayoumi: Fix Accessibility issue on [aria-*] attributes for Varbase Bootstrap Paragraphs
parent e9e47cc5
......@@ -113,7 +113,7 @@ view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
{# Loops through the tab sections to print the tab section titles. #}
{% for key, item in content.bp_tab_section if key|first != '#' %}
{% set attributes = attributes.removeClass('bg-edge2edge') %}
<li role="tab"><a href="#tab{{ paragraph_id }}-{{ key }}" class="{% if loop.first %}active{% endif %}" aria-controls="{{ item['#paragraph'].bp_tab_section_title.value }}" data-toggle="tab">{{ item['#paragraph'].bp_tab_section_title.value }}</a></li>
<li role="tab"><a href="#tab{{ paragraph_id }}-{{ key }}" class="{% if loop.first %}active{% endif %}" aria-controls="{{ paragraph_id }}" data-toggle="tab">{{ item['#paragraph'].bp_tab_section_title.value }}</a></li>
{% endfor %}
</ul>
<div class="tab-content">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment