diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e349ba7c8..f702414cc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Category pages are creating alt attribute within the span tag. [1987](https://github.com/bigcommerce/cornerstone/pull/1987) - Add alt attribute for no image placeholders. [#1984](https://github.com/bigcommerce/cornerstone/pull/1984) - For non-required options, when the "None" option displays on the storefront it should be deselected when another option is chosen. [#1980](https://github.com/bigcommerce/cornerstone/pull/1980) - Error message not announced automatically. [#1983](https://github.com/bigcommerce/cornerstone/pull/1983) diff --git a/templates/components/amp/products/ratings.html b/templates/components/amp/products/ratings.html index 8fee5edc36..443cd16d74 100644 --- a/templates/components/amp/products/ratings.html +++ b/templates/components/amp/products/ratings.html @@ -1,6 +1,5 @@ <span role="img" - alt="{{lang 'products.reviews.rating_aria_label' current_rating=rating max_rating=5}}" - title="{{lang 'products.reviews.rating_aria_label' current_rating=rating max_rating=5}}" + aria-label="{{lang 'products.reviews.rating_aria_label' current_rating=rating max_rating=5}}" > {{#for 1 5}} {{#if ../this.rating '>=' $index}} diff --git a/templates/components/products/ratings.html b/templates/components/products/ratings.html index e119d82c2a..f9180f5570 100644 --- a/templates/components/products/ratings.html +++ b/templates/components/products/ratings.html @@ -1,6 +1,5 @@ <span role="img" - alt="{{lang 'products.reviews.rating_aria_label' current_rating=rating max_rating=5}}" - title="{{lang 'products.reviews.rating_aria_label' current_rating=rating max_rating=5}}" + aria-label="{{lang 'products.reviews.rating_aria_label' current_rating=rating max_rating=5}}" > {{#for 1 5}} {{#if ../this.rating '>=' $index}}