Skip to content

Commit

Permalink
ENGCOM-4312: Misconfigured aria-labelledby for product tabs #21302
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Feb 28, 2019
2 parents 26de5e6 + d82fe86 commit 732ecd7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
$label = $block->getChildData($alias, 'title');
?>
<div class="data item title"
aria-labelledby="tab-label-<?= /* @escapeNotVerified */ $alias ?>-title"
data-role="collapsible" id="tab-label-<?= /* @escapeNotVerified */ $alias ?>">
<a class="data switch"
tabindex="-1"
Expand All @@ -32,7 +31,8 @@
<?= /* @escapeNotVerified */ $label ?>
</a>
</div>
<div class="data item content" id="<?= /* @escapeNotVerified */ $alias ?>" data-role="content">
<div class="data item content"
aria-labelledby="tab-label-<?= /* @escapeNotVerified */ $alias ?>-title" id="<?= /* @escapeNotVerified */ $alias ?>" data-role="content">
<?= /* @escapeNotVerified */ $html ?>
</div>
<?php endforeach;?>
Expand Down

0 comments on commit 732ecd7

Please sign in to comment.