Commit f0dd5778b98 for woocommerce
commit f0dd5778b98e03b0578cd3e412e9d2184bec344d
Author: Seghir Nadir <nadir.seghir@gmail.com>
Date: Mon Oct 5 13:57:50 2026 +0200
Fix nested Checkout header (#69200)
* Fix nested Checkout header markup
* Add changelog entry for Checkout header fix
diff --git a/plugins/woocommerce/changelog/fix-nested-checkout-header b/plugins/woocommerce/changelog/fix-nested-checkout-header
new file mode 100644
index 00000000000..ec7f62271de
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-nested-checkout-header
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Show one header on Checkout pages so screen readers can navigate them correctly.
diff --git a/plugins/woocommerce/templates/parts/checkout-header.html b/plugins/woocommerce/templates/parts/checkout-header.html
index aef8bddbd9a..46d509330d4 100644
--- a/plugins/woocommerce/templates/parts/checkout-header.html
+++ b/plugins/woocommerce/templates/parts/checkout-header.html
@@ -1,10 +1,10 @@
-<!-- wp:group {"tagName":"header","area":"header","metadata":{"name":"Checkout Header"},"layout":{"type":"constrained"}} -->
-<header class="wp-block-group">
+<!-- wp:group {"metadata":{"name":"Checkout Header"},"layout":{"type":"constrained"}} -->
+<div class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|20","top":"var:preset|spacing|20"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">
<!-- wp:site-title {"level":0} /-->
<!-- wp:woocommerce/cart-link {"content":""} /-->
</div>
<!-- /wp:group -->
-</header>
+</div>
<!-- /wp:group -->