Skip to content

Commit f6f1419

Browse files
authored
ENGCOM-4420: [Backport] Misconfigured aria-labelledby for product tabs #21532
2 parents 7591297 + 5803620 commit f6f1419

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Catalog/view/frontend/templates/product/view

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/view/details.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
$label = $block->getChildData($alias, 'title');
2222
?>
2323
<div class="data item title"
24-
aria-labelledby="tab-label-<?= /* @escapeNotVerified */ $alias ?>-title"
2524
data-role="collapsible" id="tab-label-<?= /* @escapeNotVerified */ $alias ?>">
2625
<a class="data switch"
2726
tabindex="-1"
@@ -31,7 +30,8 @@
3130
<?= /* @escapeNotVerified */ $label ?>
3231
</a>
3332
</div>
34-
<div class="data item content" id="<?= /* @escapeNotVerified */ $alias ?>" data-role="content">
33+
<div class="data item content"
34+
aria-labelledby="tab-label-<?= /* @escapeNotVerified */ $alias ?>-title" id="<?= /* @escapeNotVerified */ $alias ?>" data-role="content">
3535
<?= /* @escapeNotVerified */ $html ?>
3636
</div>
3737
<?php endforeach;?>

0 commit comments

Comments
 (0)