diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b408d7851..21a29525ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Alt text should include product name for ratings. [#2015](https://github.com/bigcommerce/cornerstone/pull/2015) - Changed insufficient "Change" link text on cart page. [#2014](https://github.com/bigcommerce/cornerstone/pull/2014) - Added labeling for edit fields on cart page. [#2016](https://github.com/bigcommerce/cornerstone/pull/2016) - Add placeholder for failed to load carousel images and update scalability. [#2009](https://github.com/bigcommerce/cornerstone/pull/2009) diff --git a/lang/en.json b/lang/en.json index ffe9b3dcac..70143f39fa 100755 --- a/lang/en.json +++ b/lang/en.json @@ -713,7 +713,7 @@ "rating_label": "Rating", "select_rating": "Select Rating", "anonymous_poster": "Unknown", - "rating_aria_label": "Product rating is {current_rating} of {max_rating}", + "rating_aria_label": "{rating_target} rating is {current_rating} of {max_rating}", "rating": { "1": "1 star (worst)", "2": "2 stars", diff --git a/templates/components/amp/products/card.html b/templates/components/amp/products/card.html index b53b594292..b85c852dcf 100644 --- a/templates/components/amp/products/card.html +++ b/templates/components/amp/products/card.html @@ -15,7 +15,7 @@ {{#and rating show_rating}}
{{/and}} diff --git a/templates/components/amp/products/list-item.html b/templates/components/amp/products/list-item.html index 044bdd2873..cfd3bdcc62 100644 --- a/templates/components/amp/products/list-item.html +++ b/templates/components/amp/products/list-item.html @@ -6,7 +6,7 @@
{{brand.name}}
diff --git a/templates/components/amp/products/ratings.html b/templates/components/amp/products/ratings.html index 443cd16d74..7478247537 100644 --- a/templates/components/amp/products/ratings.html +++ b/templates/components/amp/products/ratings.html @@ -1,5 +1,9 @@ {{#for 1 5}} {{#if ../this.rating '>=' $index}} diff --git a/templates/components/products/card.html b/templates/components/products/card.html index efc90733a0..8f1478578b 100644 --- a/templates/components/products/card.html +++ b/templates/components/products/card.html @@ -25,21 +25,21 @@ {{/if}}>{{brand.name}}
{{/if}}