diff --git a/feature-libs/cart/base/components/cart-shared/cart-shared.module.ts b/feature-libs/cart/base/components/cart-shared/cart-shared.module.ts index 79949583171..b13c8ba79a7 100644 --- a/feature-libs/cart/base/components/cart-shared/cart-shared.module.ts +++ b/feature-libs/cart/base/components/cart-shared/cart-shared.module.ts @@ -9,7 +9,7 @@ import { NgModule } from '@angular/core'; import { ReactiveFormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { CartOutlets } from '@spartacus/cart/base/root'; -import { I18nModule, UrlModule } from '@spartacus/core'; +import { FeaturesConfigModule, I18nModule, UrlModule } from '@spartacus/core'; import { AtMessageModule, IconModule, @@ -19,13 +19,13 @@ import { PromotionsModule, provideOutlet, } from '@spartacus/storefront'; -import { CartItemListRowComponent } from './cart-item-list-row/cart-item-list-row.component'; +import { AddToCartModule } from '../add-to-cart/add-to-cart.module'; import { CartCouponModule } from '../cart-coupon/cart-coupon.module'; import { CartItemValidationWarningModule } from '../validation/cart-item-warning/cart-item-validation-warning.module'; +import { CartItemListRowComponent } from './cart-item-list-row/cart-item-list-row.component'; import { CartItemListComponent } from './cart-item-list/cart-item-list.component'; import { CartItemComponent } from './cart-item/cart-item.component'; import { OrderSummaryComponent } from './order-summary/order-summary.component'; -import { AddToCartModule } from '../add-to-cart/add-to-cart.module'; @NgModule({ imports: [ @@ -43,6 +43,7 @@ import { AddToCartModule } from '../add-to-cart/add-to-cart.module'; RouterModule, UrlModule, AddToCartModule, + FeaturesConfigModule, ], providers: [ provideOutlet({ diff --git a/feature-libs/cart/base/components/cart-shared/order-summary/order-summary.component.html b/feature-libs/cart/base/components/cart-shared/order-summary/order-summary.component.html index f35d31efc82..694c4162b76 100644 --- a/feature-libs/cart/base/components/cart-shared/order-summary/order-summary.component.html +++ b/feature-libs/cart/base/components/cart-shared/order-summary/order-summary.component.html @@ -1,4 +1,9 @@ -
+ +

+ {{ 'orderCost.orderSummary' | cxTranslate }} +

+ +
{{ 'orderCost.orderSummary' | cxTranslate }}
diff --git a/feature-libs/cart/base/styles/components/_order-summary.scss b/feature-libs/cart/base/styles/components/_order-summary.scss index 06e59e0440e..fce4b0b1708 100644 --- a/feature-libs/cart/base/styles/components/_order-summary.scss +++ b/feature-libs/cart/base/styles/components/_order-summary.scss @@ -8,6 +8,7 @@ .cx-summary-heading { text-transform: capitalize; + // TODO: (CXSPA-5987) Remove the following propery next major release @include type('3'); font-weight: var(--cx-font-weight-semi); border-bottom: 1px solid var(--cx-color-medium); diff --git a/projects/storefrontapp/src/app/app.module.ts b/projects/storefrontapp/src/app/app.module.ts index 779d05672a3..e691a5fe311 100644 --- a/projects/storefrontapp/src/app/app.module.ts +++ b/projects/storefrontapp/src/app/app.module.ts @@ -107,6 +107,7 @@ if (!environment.production) { a11yOrganizationListHeadingOrder: true, a11yReplenishmentOrderFieldset: true, a11yListOversizedFocus: true, + a11yCartSummaryHeadingOrder: true, }, }), provideConfig({