From f7d37b749b9319fc811c15e380e93acddde4cb65 Mon Sep 17 00:00:00 2001 From: PioBar <72926984+Pio-Bar@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:57:00 +0200 Subject: [PATCH] fix: (CXSPA-979) - Dialogs announcement JAWS fix (#19071) --- .../asm-bind-cart-dialog.component.html | 1 + .../asm-save-cart-dialog.component.html | 1 + .../asm-switch-customer-dialog.component.html | 1 + .../added-to-cart-dialog.component.html | 143 +++++++++++++++++- .../clear-cart-dialog.component.html | 3 +- .../import-entries-dialog.component.html | 3 +- .../saved-cart-form-dialog.component.html | 3 +- ...omer-ticketing-close-dialog.component.html | 3 +- ...mer-ticketing-reopen-dialog.component.html | 3 +- ...mer-ticketing-create-dialog.component.html | 3 +- .../reorder-dialog.component.html | 3 +- ...t-order-cancellation-dialog.component.html | 3 +- ...ator-conflict-solver-dialog.component.html | 9 +- ...ator-overview-filter-dialog.component.html | 3 +- ...configurator-restart-dialog.component.html | 9 +- .../translations/en/productImageZoom.json | 1 + .../product-image-zoom-dialog.component.html | 7 +- .../quote-confirm-dialog.component.html | 3 +- .../verification-token-dialog.component.html | 1 + .../suggested-addresses-dialog.component.html | 3 +- .../dp-confirmation-dialog.component.html | 3 +- .../feature-toggles/config/feature-toggles.ts | 7 + .../spartacus/spartacus-features.module.ts | 1 + .../coupon-dialog.component.html | 3 +- .../stock-notification-dialog.component.html | 3 +- .../anonymous-consent-dialog.component.html | 3 +- 26 files changed, 205 insertions(+), 21 deletions(-) diff --git a/feature-libs/asm/components/asm-bind-cart-dialog/asm-bind-cart-dialog.component.html b/feature-libs/asm/components/asm-bind-cart-dialog/asm-bind-cart-dialog.component.html index b385fda9fce..212f1d58390 100644 --- a/feature-libs/asm/components/asm-bind-cart-dialog/asm-bind-cart-dialog.component.html +++ b/feature-libs/asm/components/asm-bind-cart-dialog/asm-bind-cart-dialog.component.html @@ -3,6 +3,7 @@ role="dialog" [cxFocus]="focusConfig" (esc)="closeModal(BIND_CART_ACTION.CANCEL)" + aria-labelledby="asm-bind-cart-dialog-title" >
diff --git a/feature-libs/asm/components/asm-save-cart-dialog/asm-save-cart-dialog.component.html b/feature-libs/asm/components/asm-save-cart-dialog/asm-save-cart-dialog.component.html index 642d5cdf8c7..e41d4b3aa04 100644 --- a/feature-libs/asm/components/asm-save-cart-dialog/asm-save-cart-dialog.component.html +++ b/feature-libs/asm/components/asm-save-cart-dialog/asm-save-cart-dialog.component.html @@ -3,6 +3,7 @@ role="dialog" [cxFocus]="focusConfig" (esc)="closeModal(BIND_CART_ACTION.CANCEL)" + aria-labelledby="asm-save-cart-dialog-title" >
diff --git a/feature-libs/asm/components/asm-switch-customer-dialog/asm-switch-customer-dialog.component.html b/feature-libs/asm/components/asm-switch-customer-dialog/asm-switch-customer-dialog.component.html index 37991cfe743..25a8a6e6765 100644 --- a/feature-libs/asm/components/asm-switch-customer-dialog/asm-switch-customer-dialog.component.html +++ b/feature-libs/asm/components/asm-switch-customer-dialog/asm-switch-customer-dialog.component.html @@ -3,6 +3,7 @@ [cxFocus]="focusConfig" (esc)="closeModal(SWITCH_CUSTOMER_DIALOG_ACTION.CANCEL)" role="dialog" + aria-labelledby="asm-switch-customer-dialog-title" >
diff --git a/feature-libs/cart/base/components/added-to-cart-dialog/added-to-cart-dialog.component.html b/feature-libs/cart/base/components/added-to-cart-dialog/added-to-cart-dialog.component.html index 8aa29216a7d..bf0cdb27aec 100644 --- a/feature-libs/cart/base/components/added-to-cart-dialog/added-to-cart-dialog.component.html +++ b/feature-libs/cart/base/components/added-to-cart-dialog/added-to-cart-dialog.component.html @@ -1,14 +1,155 @@ + +