Skip to content

Commit

Permalink
fix: (CXSPA-8156) add landmark for checkout delivery address section
Browse files Browse the repository at this point in the history
  * add a landmark for checkout delivery address component to get a 'new address button' associated with an appropriate content.

  * closes https://jira.tools.sap/browse/CXSPA-8156
  • Loading branch information
StanislavSukhanov committed Oct 16, 2024
1 parent 0ec414e commit 020d282
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<section [attr.aria-labelledby]="'shipping-address-title'">
<h2
id="shipping-address-title"
class="cx-checkout-title d-none d-lg-block d-xl-block"
>
<section [attr.aria-label]="'checkoutAddress.shippingAddress' | cxTranslate">
<h2 class="cx-checkout-title d-none d-lg-block d-xl-block">
{{ 'checkoutAddress.shippingAddress' | cxTranslate }}
</h2>

Expand Down Expand Up @@ -30,7 +27,6 @@
<div class="cx-checkout-btns cx-checkout-btns-top">
<button
class="btn btn-block btn-secondary"
[attr.aria-describedby]="'shipping-address-title'"
(click)="showNewAddressForm()"
>
{{ 'checkoutAddress.addNewAddress' | cxTranslate }}
Expand Down

0 comments on commit 020d282

Please sign in to comment.