Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storefront): BCTHEME-146 Improper heading hierarchy on Add to Car… #1783

Merged
merged 2 commits into from
Aug 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Fixed improper heading hierarchy on Add to Cart modal heading. [#1783](https://github.com/bigcommerce/cornerstone/pull/1783)
- Changed heading tag for carousel slides. [#1780](https://github.com/bigcommerce/cornerstone/pull/1780)
- Selected state on search page not announced. [#1788](https://github.com/bigcommerce/cornerstone/pull/1788)
- Added additional focusable element for rating announcing. [#1769](https://github.com/bigcommerce/cornerstone/pull/1769)
Expand All @@ -17,7 +18,6 @@
- Added modal trap for for product details. [#1758](https://github.com/bigcommerce/cornerstone/pull/1758)
- Added tooltips for carousel Previous and Next buttons. [#1749](https://github.com/bigcommerce/cornerstone/pull/1749)


## 4.9.0 (07-28-2020)
- Added correct alt text on image change in product view. [#1747](https://github.com/bigcommerce/cornerstone/pull/1747)
- Description tab is hidden in case of empty product descrioption. [#1746](https://github.com/bigcommerce/cornerstone/pull/1746)
Expand Down
8 changes: 4 additions & 4 deletions templates/components/cart/preview.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="modal-header">
<h2 class="modal-header-title">
<h1 class="modal-header-title">
{{lang 'cart.added_to_cart.what_next' num_products=cart.quantity}}
</h2>
</h1>
</div>

<div class="modal-body">
Expand Down Expand Up @@ -66,9 +66,9 @@ <h2 class="modal-header-title">
</figure>

<div class="productView-details">
<h4 class="productView-title">
<h2 class="productView-title">
{{name}}
</h4>
</h2>

<div class="productView-brand">
{{brand.name}}
Expand Down