Blog › Accessibility › How Do You Test Keyboard Navigation on an Online Store?
Noibu blog

How Do You Test Keyboard Navigation on an Online Store?

How do you test keyboard navigation on an online store?

To test keyboard navigation on an online store, put the mouse away and shop with Tab, Shift+Tab, Enter, Space, Esc and the arrow keys. Walk the header menu, search, filters, product page, cart drawer, checkout and pop-ups, checking that focus stays visible, follows a logical order, never gets trapped and returns after a modal closes.

Last updated November 26, 2026

Knowing how to test keyboard navigation on an ecommerce site for accessibility is one of the fastest checks a store team can run: no software, no special skills, just a keyboard and a list of pages that matter. Shoppers who use a keyboard, switch device or other assistive input depend on every menu, filter, swatch and button working without a mouse. This playbook gives a repeatable test path through a typical store, the keys to press at each stop and the failures to write down.

Key takeaways

  • A keyboard test uses six inputs: Tab, Shift+Tab, Enter, Space, Esc and the arrow keys.
  • Follow the shopper path: skip link, header menu, search, filters, product page, cart drawer, checkout and pop-ups.
  • Log five failure types: no visible focus, illogical focus order, keyboard traps, controls that cannot be reached, and focus that is lost after a modal closes.
  • The relevant WCAG 2.1 criteria are 2.1.1 Keyboard, 2.1.2 No Keyboard Trap, 2.4.3 Focus Order and 2.4.7 Focus Visible.
  • Noibu's ADA agent audits the highest-traffic pages against WCAG and stages changes for human review.

Part of: Noibu's ADA Agent

Why does keyboard navigation matter on an online store?

Keyboard access is the foundation that many assistive technologies build on. Screen reader users, people with tremors or limited hand movement, and people using switch devices or voice control all send keyboard-style commands to the browser. If a product filter or an Add to cart button only responds to a mouse click, every one of those shoppers hits a dead end on the online store.

The W3C makes this a Level A requirement. WCAG 2.1 Success Criterion 2.1.1 Keyboard asks that all functionality be operable through a keyboard interface, and Success Criterion 2.1.2 No Keyboard Trap asks that focus never get stuck in a component. Two navigation criteria round out the test: 2.4.3 Focus Order and 2.4.7 Focus Visible. For the full list of criteria a store should track, see the WCAG 2.1 AA checklist for online stores.

Keyboard testing is also different from screen reader testing. A keyboard test asks whether a shopper can reach and operate every control. A screen reader test asks whether each control is announced correctly. Both matter, and the guide to screen reader checkout accessibility covers the second half.

Which keys do you use to test keyboard navigation?

A keyboard navigation test on an ecommerce site needs only six inputs. Tab moves focus forward to the next link, button or form field. Shift+Tab moves focus backward. Enter follows links and activates buttons. Space activates buttons, toggles checkboxes and opens some select menus.

Esc should close menus, drawers, dialogs and pop-ups. The arrow keys move between options inside a single widget, such as radio buttons for size, tabs on a product page, items in a dropdown or slides in an image gallery. On macOS, Safari may need the setting that lets Tab move to every control on a page before the test gives accurate results.

Before starting, click once in the browser address bar, press Tab, and confirm where focus lands. On most well-built stores, the first stop is a skip link that jumps past the header to the main content, which supports WCAG 2.1 Success Criterion 2.4.1 Bypass Blocks.

How do you run a keyboard-only test path through a store?

The most useful keyboard test follows the path a shopper takes from landing to order. Run it on the highest-traffic templates first: the home page, a category or collection page, a product page, the cart and checkout. Repeat it on a narrow browser window, because many stores swap in a mobile menu and a different cart drawer below a certain width.

The keyboard-only shopper path

  1. 1

    Clear the pop-ups

    Reach and dismiss the cookie banner and email pop-up with Tab, Enter and Esc.

  2. 2

    Skip link and header

    Use the skip link, then open and close the main menu and its submenus.

  3. 3

    Search and filter

    Run a search, pick a suggestion, apply and remove filters on a category page.

  4. 4

    Product page

    Choose a swatch and size, move through the gallery, add to cart.

  5. 5

    Cart and checkout

    Edit quantity in the cart drawer, then complete every checkout step to the order button.

Write down each failure as it happens, with the page URL, the element, the key pressed and what went wrong. A short note such as size selector, arrow keys do nothing, product page, is enough for a developer to reproduce the problem later.

Keyboard test path for an online store

Store areaKeys to pressWhat should happenCommon failure
Cookie banner and email pop-upTab, Enter, EscFocus moves into the pop-up, Esc or a close button dismisses it, focus returns to the pageClose icon not focusable, or focus stays behind the overlay
Skip linkTab, EnterFirst Tab shows a visible link that jumps to main contentNo skip link, or it stays hidden when focused
Header menuTab, Enter, Space, arrows, EscSubmenus open without hover and close with EscMega menu opens only on mouse hover
SearchTab, type, arrows, EnterSuggestions can be reached and chosen with arrows and EnterSuggestions vanish when focus leaves the input
Filters and sortTab, Space, Enter, arrowsCheckboxes toggle, results update, focus stays near the filterFocus jumps to the top of the page after each filter
Product page swatches and sizeTab, arrows, SpaceEach option is reachable and its selected state is visibleSwatches are images with click handlers only
Image galleryTab, arrows, Enter, EscNext and previous controls work, zoom view closes with EscZoom lightbox traps focus with no way out
Cart drawerTab, Enter, EscFocus moves into the drawer, quantity and remove work, Esc returns focus to the cart buttonFocus keeps moving through the page hidden behind the drawer
CheckoutTab, Shift+Tab, Space, Enter, arrowsFields, shipping options, payment and the order button follow the visual orderEmbedded payment fields or express pay buttons cannot be reached

What should you look for during a keyboard navigation test?

Visible focus comes first. On every Tab press, the focused element should show a clear outline, underline or color change, which is what WCAG 2.1 Success Criterion 2.4.7 describes. Many store themes remove the browser outline for visual reasons and never replace it, so a keyboard user cannot tell where they are on the page.

Focus order is the second check. Focus should move in a sequence that matches how the page reads, usually top to bottom and left to right. Jumps from the header to the footer and back, or a checkout that tabs to the order button before the shipping fields, usually come from positive tabindex values or content that is moved visually with CSS but not in the page source.

Keyboard traps are the third check. A trap happens when Tab and Shift+Tab cycle inside one component, such as an embedded video, a chat widget or a zoom lightbox, with no key that leads out. Third-party scripts added through apps and tag managers are frequent sources of traps on online stores.

Unreachable controls are the fourth check. Any control that never receives focus, such as a color swatch built from a plain image or a quantity stepper built from styled text, cannot be used without a mouse. A store team can confirm the problem by tabbing past the spot where the control appears on screen.

Focus return is the fifth check. When a modal, cart drawer, cookie banner or email pop-up closes, focus should land back on the element that opened it, or on a sensible next element. If focus resets to the top of the page or disappears entirely, the keyboard user has to start the journey over.

How do you record and prioritize keyboard issues?

Rank keyboard issues by where they block an order. A trap in the checkout or an Add to cart button that cannot be reached stops a purchase outright, while a missing focus outline on a footer link is an irritation. Start with problems on the product page, cart and checkout, then work outward to category pages, search and the header.

Group issues by component, not by page. A single header menu, product card or pop-up script usually appears on hundreds of pages, so one change to the component resolves the same failure across the store. After changes go live, run the same keyboard test path again to confirm the result, and add the path to the release checklist for theme updates and new apps.

Keyboard testing pairs well with automated scanning. Automated tools catch missing labels, missing focus styles in some cases and incorrect roles, while a human run catches traps and focus order problems that depend on behavior. The overview of accessibility testing tools for ecommerce covers what each type of tool finds, and the guide to a website accessibility audit for ecommerce explains how keyboard checks fit into a full audit.

How does Noibu's ADA agent support keyboard accessibility work?

Noibu's ADA agent starts from the pages that matter most. It audits a store's highest-traffic pages against WCAG standards, the same standard that defines the keyboard criteria in this playbook, and creates a report of what is falling short so the team sees which violations sit on the pages shoppers actually use.

From that report, the ADA agent stages changes for review. Nothing goes live until a person on the store team approves it. After the approved changes are pushed live, the ADA agent re-audits the pages to confirm the violation has been resolved. The manual keyboard test path in this post stays useful alongside the ADA agent, because a human run shows how the shopping journey feels from start to finish. More detail on the agent is in the introduction to Noibu's ADA agent.

The ADA agent works in the Noibu console and in Claude, ChatGPT and other AI tools through Noibu MCP. It is one of six supervised agents, alongside Bug Resolution, Performance, CRO, A/B Testing and ROAS, that each find a problem, build a change, wait for approval and measure the result.

Frequently asked questions

Which pages should a keyboard navigation test cover first?

Start with the pages that lead to an order: the product page, the cart drawer and every checkout step, then the home page, category pages and search. Repeat the path at a narrow browser width, because many stores use a different menu and cart drawer on smaller screens.

What is a keyboard trap on an ecommerce site?

A keyboard trap is a component that keyboard focus can enter but cannot leave with Tab, Shift+Tab or Esc. On online stores, traps often appear in zoom lightboxes, embedded videos, chat widgets and pop-ups added by third-party apps. WCAG 2.1 Success Criterion 2.1.2 No Keyboard Trap covers this failure.

Is keyboard testing the same as screen reader testing?

No. Keyboard testing checks whether every control can be reached and operated without a mouse, with visible focus and a logical order. Screen reader testing checks whether each control is announced with the right name, role and state. A store needs both, and keyboard testing is usually the quicker place to start.

Can automated accessibility scanners find keyboard problems?

Automated scanners can flag some keyboard-related issues, such as missing labels, incorrect roles or positive tabindex values. Traps, focus order problems and focus that is lost after a modal closes depend on how the page behaves, so they are best confirmed by a person running a keyboard-only test path.

What does Noibu's ADA agent do for accessibility?

Noibu's ADA agent audits a store's highest-traffic pages against WCAG standards, creates a report of what is falling short and stages changes for review. Nothing goes live without approval, and after approved changes are pushed live the ADA agent re-audits the pages to confirm the violation has been resolved.

What is the next step after a keyboard test?

A keyboard test shows where shoppers get stuck today. Turning those findings into reviewed changes, and confirming them after release, is ongoing work across every theme update and new app.

Noibu is AI for ecommerce operations, the always-on optimization system that keeps online stores running at their best. A team of supervised AI agents finds what's broken, slow, or leaking revenue, does the work, and hands results back for human approval. Trusted by retailers like Free People, Guess, Liquid I.V., and Ariat.

See what the ADA agent and the other five agents find on your own store with a free website audit.

Back to all blogs
‍
‍
See what Noibu’s AI agents would change on your store first.
Free website audit
Share

Keep your store running at its best, with AI agents that never clock out.