Use the <main> tag in Cart and Checkout templates (https://github.com/woocommerce/woocommerce-blocks/pull/11224)
This commit is contained in:
parent
f5d5514dfe
commit
08802e6bd3
|
@ -1,13 +1,13 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:woocommerce/page-content-wrapper {"page":"cart"} -->
|
||||
<!-- wp:post-title {"align":"wide", "level":1} /-->
|
||||
|
||||
<!-- wp:post-content {"align":"wide"} /-->
|
||||
<!-- /wp:woocommerce/page-content-wrapper -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<!-- wp:template-part {"slug":"checkout-header","theme":"woocommerce/woocommerce","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:woocommerce/page-content-wrapper {"page":"checkout"} -->
|
||||
<!-- wp:post-title {"align":"wide", "level":1} /-->
|
||||
|
||||
<!-- wp:post-content {"align":"wide"} /-->
|
||||
<!-- /wp:woocommerce/page-content-wrapper -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:woocommerce/page-content-wrapper {"page":"cart"} -->
|
||||
<!-- wp:post-title {"align":"wide", "level":1} /-->
|
||||
|
||||
<!-- wp:post-content {"align":"wide"} /-->
|
||||
<!-- /wp:woocommerce/page-content-wrapper -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<!-- wp:template-part {"slug":"checkout-header","theme":"woocommerce/woocommerce","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:woocommerce/page-content-wrapper {"page":"checkout"} -->
|
||||
<!-- wp:post-title {"align":"wide", "level":1} /-->
|
||||
|
||||
<!-- wp:post-content {"align":"wide"} /-->
|
||||
<!-- /wp:woocommerce/page-content-wrapper -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
|
Loading…
Reference in New Issue