Skip to content

Commit

Permalink
fix(storefront): BCTHEME-143 Improper heading hierarchy on PLPs (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
BC-tymurbiedukhin committed Aug 26, 2020
1 parent 2e260eb commit 4f0e081
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Fixed improper heading hierarchy on PLPs. [#1779](https://github.com/bigcommerce/cornerstone/pull/1779)
- Cornerstone - Cart link not visible on mobile Chrome depending on swatch image size. [#1793](https://github.com/bigcommerce/cornerstone/pull/1793)
- Added a valid ARIA role for li elemenents on "Related Products" tab [#1782](https://github.com/bigcommerce/cornerstone/pull/1782)
- Fixed IDs used in ARIA and labels which are not unique. [#1791](https://github.com/bigcommerce/cornerstone/pull/1791)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}

.accordion-title {
font-size: remCalc(15px);
margin: 0;
}

Expand Down
1 change: 1 addition & 0 deletions assets/scss/layouts/sidebar/_block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
}

.sidebarBlock-heading {
font-size: remCalc(15px);
margin-top: 0;
text-transform: inherit;
}
2 changes: 1 addition & 1 deletion templates/components/category/shop-by-price.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#and theme_settings.shop_by_price_visibility shop_by_price}}
<div class="sidebarBlock">
<h5 class="sidebarBlock-heading">{{lang 'category.shop_by_price'}}</h5>
<h2 class="sidebarBlock-heading">{{lang 'category.shop_by_price'}}</h2>
<ul class="navList">
{{#each shop_by_price}}
<li class="navList-item">
Expand Down
2 changes: 1 addition & 1 deletion templates/components/category/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav>
{{#if category.subcategories}}
<div class="sidebarBlock">
<h5 class="sidebarBlock-heading">{{category.name}}</h5>
<h2 class="sidebarBlock-heading">{{category.name}}</h2>
<ul class="navList">
{{#each category.subcategories}}
<li class="navList-item">
Expand Down
4 changes: 2 additions & 2 deletions templates/components/faceted-search/selected-facets.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="facetedSearch-refineFilters sidebarBlock">
<h5 class="sidebarBlock-heading">
<h2 class="sidebarBlock-heading">
{{lang 'search.faceted.selected.title'}}
</h5>
</h2>

{{#if items}}
<ul class="inlineList inlineList--labels">
Expand Down

0 comments on commit 4f0e081

Please sign in to comment.