Accessibility: Order Received page missing H1 and skips heading levels #43624
Labels
focus: accessibility
The issue/PR is related to accessibility.
focus: checkout
Issues related to checkout page.
team: Rubik
Store API checkout endpoints, Mini-Cart, Cart and Checkout related issues
type: community contribution
Prerequisites
Describe the bug
The order received page does not have the correct heading structure.
The expected H1 "Thank you. Your order has been received." is just large styled paragraph text. See:
woocommerce/plugins/woocommerce/templates/checkout/order-received.php
Line 23 in 758df48
The subsections on the page (Order Details, Shipping Address, Billing Address) use H3s when they should be H2s.
Expected behavior
All pages should have an H1.
Headings on the page following the H1 should have the correct tag to create a meaningful outline of the page content.
Actual behavior
There is no H1 or H2s on the page, only H3s.
Steps to reproduce
Submit an order and inspect the heading levels on the page.
WordPress Environment
N/A
Isolating the problem
The text was updated successfully, but these errors were encountered: