Removes arialabelledby from PaymentMethodItem (#2261)

* fixes paymentmethoditem arialabelby

* adds changeset
This commit is contained in:
António Ferreira
2023-07-12 16:31:53 +02:00
committed by GitHub
parent 256a93235b
commit 56db1adbaf
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@adyen/adyen-web': patch
---
fixes aria-labelledby in paymentMethodItem

View File

@@ -153,7 +153,6 @@ class PaymentMethodItem extends Component<PaymentMethodItemProps> {
className={`adyen-checkout__payment-method__details ${styles['adyen-checkout__payment-method__details']}`}
id={containerId}
role="region"
aria-labelledby={buttonId}
>
{showRemovePaymentMethodButton && (
<DisableOneClickConfirmation