Skip to content

Commit 06dfda7

Browse files
author
Oleg Zinoviev
committed
MAGETWO-32185: WAI-ARIA in Layered Navigation and Customer Dropdown
- CR updates
1 parent 6726ad5 commit 06dfda7

File tree

2 files changed

+2
-2
lines changed
  • app
    • code/Magento/LayeredNavigation/view/frontend/templates/layer
    • design/frontend/Magento/luma/Magento_LayeredNavigation/templates/layer

2 files changed

+2
-2
lines changed

app/code/Magento/LayeredNavigation/view/frontend/templates/layer/state.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</a>
4343
<?php else: ?>
4444
<a class="action remove" href="<?php echo $_filter->getRemoveUrl() ?>"
45-
title="<?php echo __('Remove') . " " . $currentFilterName;?>">
45+
title="<?php echo $block->escapeHtml(__('Remove')) . " " . $currentFilterName;?>">
4646
<span><?php echo __('Remove This Item') ?></span>
4747
</a>
4848
<?php endif; ?>

app/design/frontend/Magento/luma/Magento_LayeredNavigation/templates/layer/state.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</a>
4141
<?php else: ?>
4242
<a class="action remove" href="<?php echo $_filter->getRemoveUrl() ?>"
43-
title="<?php echo __('Remove') . " " . $currentFilterName;?>">
43+
title="<?php echo $block->escapeHtml(__('Remove')) . " " . $currentFilterName;?>">
4444
<span><?php echo __('Remove This Item') ?></span>
4545
</a>
4646
<?php endif; ?>

0 commit comments

Comments
 (0)