This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Use the <header> element for the checkout header #10558
Labels
type: community contribution
type: enhancement
The issue is a request for an enhancement.
type: good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
Milestone
Describe the bug
The checkout template uses the checkout header template part, but it is set to use
<div>
, please consider using<header>
.Compare this with the cart and order information templates that use
<header>
for the standard header template part.https://github.com/woocommerce/woocommerce-blocks/blob/trunk/templates/templates/checkout.html#L1
https://github.com/woocommerce/woocommerce-blocks/blob/trunk/templates/templates/cart.html#L1
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the header to use the header element.
Screenshots
The header template part in the checkout template, with div pre-selected in the HTML element option:
Environment
WordPress (please complete the following information):
Additional context
Kindly go through the remaining templates and confirm that they too, are as accessible as possible.
Related:
#10557
The text was updated successfully, but these errors were encountered: