Skip to content

Commit b76b9b9

Browse files
author
Oleg Zinoviev
committed
MAGETWO-32190: WAI-ARIA in Product Item on Category page and Related Products
- QA updates
1 parent edb79a8 commit b76b9b9

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

app/code/Magento/Msrp/view/base/templates/product/price/msrp.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if ($product->isSaleable()) {
4646
}
4747
?>
4848
<?php if ($product->getMsrp()): ?>
49-
<span class="old-price"><?php echo $msrpPrice ?></span>
49+
<span class="old-price msrp-price-wrapper"><?php echo $msrpPrice ?></span>
5050
<?php endif; ?>
5151

5252
<?php if ($priceType->isShowPriceOnGesture()): ?>

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/_module.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
.old.price {
4747
text-decoration: line-through;
4848
}
49+
.msrp-price-wrapper {
50+
text-decoration: none;
51+
.price-wrapper {
52+
text-decoration: line-through;
53+
}
54+
}
4955

5056
.price-tier_price {
5157
.price-including-tax + .price-excluding-tax {

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/module/_toolbar.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
float: left;
119119
display: inline-block;
120120
margin-right: @indent__base;
121-
overflow: hidden;
122121
.products.wrapper ~ .toolbar & {
123122
display: none;
124123
}

0 commit comments

Comments
 (0)