Commit ddb98ed77d for woocommerce
commit ddb98ed77d0b32e48d4481963b23b4a1fcf43ef4
Author: Thomas Roberts <5656702+opr@users.noreply.github.com>
Date: Thu Jan 15 12:55:57 2026 +0000
Add aira-level to order summary heading (#62453)
* Add aira-level to order summary heading
* Add changelog
diff --git a/plugins/woocommerce/changelog/wooplug-5999-accessibility-concerns-on-checkout b/plugins/woocommerce/changelog/wooplug-5999-accessibility-concerns-on-checkout
new file mode 100644
index 0000000000..bf8c26dca2
--- /dev/null
+++ b/plugins/woocommerce/changelog/wooplug-5999-accessibility-concerns-on-checkout
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Accessibility improvement for order summary in Checkout block
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/edit.tsx b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/edit.tsx
index 3d4448da5d..2b1c35ff28 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/edit.tsx
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/edit.tsx
@@ -72,6 +72,7 @@ export const Edit = ( { clientId }: { clientId: string } ): JSX.Element => {
<p
className="wc-block-components-checkout-order-summary__title-text"
role="heading"
+ aria-level={ 2 }
>
{ __( 'Order summary', 'woocommerce' ) }
</p>
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/frontend.tsx b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/frontend.tsx
index 5fd7199ab2..8148cee38f 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/frontend.tsx
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/frontend.tsx
@@ -64,6 +64,7 @@ const FrontendBlock = ( {
<p
className="wc-block-components-checkout-order-summary__title-text"
role="heading"
+ aria-level={ 2 }
>
{ __( 'Order summary', 'woocommerce' ) }
</p>