Home / Blog / How do you test a Shopify cart with only a keyboard?

How do you test a Shopify cart with only a keyboard?

Published 2026-09-14

Start at a product page and complete the full path using Tab, Shift plus Tab, Enter, Space, and Escape only. Confirm every control receives visible focus, variants can be selected, the cart opens and closes without trapping focus, quantity controls have clear names, errors are announced, and focus returns to the control that opened each dialog.

Watch the cart drawer

Drawers often move focus visually without moving keyboard focus. When the drawer opens, focus should enter it in a sensible place. When it closes, focus should return to the button that opened it, not jump to the top of the page.

Test failure states

Submit an invalid discount, remove an item, and change quantity limits. Error text must be announced and linked to the affected control. Color alone or a silent toast leaves keyboard and screen reader users without an explanation.

Find out where your store stands

Get a free accessibility audit