Skip to content

Commit

Permalink
feature(storefront): Empty cart message not read by screen reader (bi…
Browse files Browse the repository at this point in the history
  • Loading branch information
yurytut1993 authored and sacr3dc0w committed Mar 31, 2021
1 parent d47da2d commit 60c1fb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Empty cart message not read by screen reader. [#1935](https://github.com/bigcommerce/cornerstone/pull/1935)
- No tooltips provided for carousel buttons. [#1934](https://github.com/bigcommerce/cornerstone/pull/1934)
- Added announcement on shipping estimator errors. [#1932](https://github.com/bigcommerce/cornerstone/pull/1932)
- Add main tag on pages like Homepage, Category, Product etc to define the dominant content. [#1929](https://github.com/bigcommerce/cornerstone/pull/1929)
Expand Down
2 changes: 1 addition & 1 deletion templates/components/common/cart-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h6 class="previewCartItem-name">
</div>
{{/if}}
{{else}}
<div class="previewCart-emptyBody">
<div role="alert" aria-live="polite" aria-atomic="false" class="previewCart-emptyBody">
{{lang 'cart.checkout.empty_cart'}}
</div>
{{/if}}
Expand Down

0 comments on commit 60c1fb0

Please sign in to comment.