Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility: Order Received page missing H1 and skips heading levels #43624

Open
5 tasks done
amberhinds opened this issue Jan 15, 2024 · 0 comments
Open
5 tasks done
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

Comments

@amberhinds
Copy link

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

The order received page does not have the correct heading structure.
Screenshot 2024-01-14 at 8 49 06 PM

The expected H1 "Thank you. Your order has been received." is just large styled paragraph text. See:

<p class="woocommerce-notice woocommerce-notice--success woocommerce-thankyou-order-received">

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

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
@adimoldovan adimoldovan added 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 labels Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants