Accessibility: Focus order incorrect on checkout page when zoomed in #43638
Labels
focus: accessibility
The issue/PR is related to accessibility.
focus: cart
Issues related to the cart.
team: Rubik
Store API checkout endpoints, Mini-Cart, Cart and Checkout related issues
type: community contribution
Prerequisites
Describe the bug
When zooming on the checkout page as a low-vision user would do, the order summary stacks above the checkout fields.
This is a logical reading order for zoomed and mobile users, however the order of the content does not match this reading order. The order summary block occurs after the checkout form in the DOM, so keyboard only users must tab through and past the entire form to be able to:
Then, they would have to Shift+Tab backwards up through the page in order to check out.
This is a WCAG focus order failure.
Expected behavior
Actual behavior
DOM order does not match focus order.
Steps to reproduce
Go to the checkout page and either zoom your browser in or make it more narrow to get the mobile version. Hit the Tab key to move through the page and notice it does not match the visual order.
WordPress Environment
N/A
Isolating the problem
The text was updated successfully, but these errors were encountered: