Skip to content

Commit

Permalink
Update Subtotal header for a11y (Shopify#1680)
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaz93 authored and pjhardie committed Jun 13, 2022
1 parent 0e3b12d commit 6c14712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/component-totals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin: 0;
}

.totals > h3 {
.totals > h2 {
font-size: calc(var(--font-heading-scale) * 1.6rem);
}

Expand Down
2 changes: 1 addition & 1 deletion sections/main-cart-footer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{%- when 'subtotal' -%}
<div class="js-contents" {{ block.shopify_attributes }}>
<div class="totals">
<h3 class="totals__subtotal">{{ 'sections.cart.subtotal' | t }}</h3>
<h2 class="totals__subtotal">{{ 'sections.cart.subtotal' | t }}</h2>
<p class="totals__subtotal-value">{{ cart.total_price | money_with_currency }}</p>
</div>

Expand Down

0 comments on commit 6c14712

Please sign in to comment.