- Issue created by @mortona2k
The tab component template has:
{{ link|set_attribute('role', 'tab')|add_class('tab') }}
But the active tab gets printed as (tab class missing):
<a href="/admin/appearance/css-variables" class="is-active" data-component-id="ui_suite_daisyui:tab" role="tab" data-drupal-link-system-path="admin/appearance/css-variables">CSS variables</a>
Adjacent tabs look like:
<a href="/admin/appearance/settings" data-component-id="ui_suite_daisyui:tab" role="tab" class="tab" data-drupal-link-system-path="admin/appearance/settings">Settings</a>
This is caused by the related issue: https://www.drupal.org/project/drupal/issues/3494015 π Link render element overwrites CSS class Active
Active
4.0
Code