Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form not usable with keyboard only: how to find and fix it

PRF-313High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many people never use a mouse. They use the keyboard, a switch device, voice control or a screen reader, all of which depend on keyboard-style input. A form passes when every field and button can be reached with Tab (and Shift+Tab to go back), and operated with Space, Enter and the arrow keys. This maps to WCAG 2.1.1 Keyboard (level A), which is part of WCAG 2.2.

Why it costs you leads or sales

A visitor who gets stuck on one field can't submit, and they rarely tell you. They leave. Because the form looks fine to you with a mouse, the problem can sit unnoticed for months. It also affects power users who tab through forms for speed, and it is a legal and procurement risk where accessibility rules apply.

Where a keyboard user gets stuck
  1. Open pagePage loads, form is visible
  2. Name and emailTab reaches both fields
  3. Custom dropdownTab skips it or Enter does nothing
  4. Submit buttonNever reached
  5. Lead in CRMNo lead created

The visitor tabs through the form but can't reach or operate the custom dropdown, so the submit never happens.

Form completion by input methodExample numbers
Form completion by input method (example)Mouse users: 24 %; Keyboard users (broken): 0 %; Keyboard users (fixed): 22 %091824022Mouse usersKeyboard users (broke…Keyboard users (fixed)%

Example: illustrative numbers showing how a broken dropdown can block every keyboard-only visitor while mouse users still complete the form.

How to check if your site has it

Test your form with the keyboard only
  1. Put the mouse away

    Open the page with the form. Click once in the address bar area or on blank page space, then use only the keyboard.

  2. Press Tab through the form

    Every field, checkbox, dropdown and button should receive focus in a logical order. Note anything that is skipped.

  3. Operate each control

    Type in text fields, use arrow keys on selects and radio buttons, press Space on checkboxes, and open any date picker or dropdown with Enter or Space.

  4. Submit with Enter or Space

    Focus the submit button and press Enter or Space. Confirm the success message or thank-you page appears.

  5. Look for a visible focus indicator

    You should always see where focus is. If not, see the related focus outline issue.

  6. Check in DevTools

    Search the form's HTML for tabindex="-1", div or span elements with click handlers, and inputs hidden with display:none. Browser accessibility tools such as Lighthouse or axe DevTools can also flag some of these.

Keys a form should respond to
ControlKeys that should work
Text fieldTab to focus, type
CheckboxSpace to toggle
Radio groupArrow keys to change, Tab to leave group
Select dropdownArrow keys, Enter or Space to open
ButtonEnter and Space
Custom dropdown or date pickerEnter or Space to open, arrows to move, Esc to close

How to fix it

The best fix is to use native HTML controls and style them, instead of rebuilding them from generic elements. Where you must keep a custom widget, give it a role, focus and key handling.

Fake button vs real button

Broken

  • A div with a click handler acts as the submit button
  • Tab skips it
  • Enter and Space do nothing

Fixed

  • A real button element with type=submit
  • Tab reaches it
  • Enter and Space submit the form
Replace a clickable div with a real buttonhtml
<!-- Broken -->
<div class="btn" onclick="submitForm()">Send</div>

<!-- Fixed -->
<button type="submit" class="btn">Send</button>
Hide a custom checkbox without removing it from the keyboardcss
.visually-hidden-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
/* Do not use display:none or visibility:hidden on the real input */
.visually-hidden-input:focus-visible + .custom-box {
  outline: 2px solid #1a56db;
  outline-offset: 2px;
}
Fix by platform
  1. Identify the form plugin

    Test the form with the keyboard. If only one field type fails (for example a date picker or styled select), check the plugin's settings for a custom or modern field option and switch to the standard field.

  2. Disable the add-on or script causing it

    Temporarily turn off styling add-ons or custom JavaScript for the form, retest, and re-enable one at a time to find the culprit.

  3. Update plugin and theme

    Update the form plugin and theme, then retest. If the issue remains, report it to the vendor with your test steps.

How to confirm it's fixed

Confirmation checklist
  • Tab reaches every field and the submit button in a logical order
  • Shift+Tab moves backwards through the same order
  • Every dropdown, date picker and checkbox works with the keyboard
  • Pressing Enter or Space on the submit button sends the form
  • The success message or thank-you page appears
  • Focus is always visible
  • A test lead arrives in your inbox or CRM
  • Retested on mobile browsers with an external keyboard if relevant

How to prevent it happening again

Habits that keep forms keyboard friendly
  • Add a keyboard-only test to your release checklist for any form change
  • Prefer native HTML controls over custom widgets
  • Run Lighthouse or axe DevTools on pages with forms after theme, plugin or page builder updates
  • Retest after installing popups, chat widgets or cookie banners that overlay forms
  • Ask designers to specify focus states and keyboard behaviour for any custom component

How FunnelGuard handles this

FunnelGuard does not check this yet. Keyboard-only operation is a possible future check, but today it is not part of the service.

What FunnelGuard does do is run your real form journey with a robot visitor on a schedule, from the EU or the US. It checks each step, the tracking hits sent to ad and analytics platforms, and whether the test lead reaches the inbox and CRM. If a form breaks for everyone, for example the submit button no longer works or the lead never arrives, a failure is re-checked from a second region and one alert is sent with a screenshot and a likely cause. That covers outright breakage, not whether a person using only a keyboard can complete the form.

Questions people ask

Why can't I tab to a field in my form?

The field is probably removed from the tab order. Common causes are tabindex="-1" on the input, the input hidden with display:none or visibility:hidden, or a custom control built from a div. Use a native input and remove the negative tabindex.

How do I test if my form works with keyboard only?

Use Tab and Shift+Tab to move through every field, Space and arrow keys to operate checkboxes, radios and dropdowns, and Enter or Space on the submit button. If you can complete and submit the form without touching the mouse, and can always see where focus is, it passes.

Why does the Enter key not submit my form?

Enter submits a form when it sits inside a form element that has a real submit button. If the button is a div or a button with type="button", or JavaScript blocks the default action, nothing is sent. Use a button with type="submit" inside the form.

Is keyboard accessibility for forms a legal requirement?

WCAG 2.1.1 Keyboard is a level A criterion in WCAG 2.2, and many accessibility laws and standards refer to WCAG. Whether it legally applies depends on your country and sector, so check with a qualified adviser. It is also simply good for conversions.

Why is my custom dropdown not working with the keyboard?

Dropdowns built from lists or divs don't get keyboard behaviour automatically. Either use a native select element, or add a role, tabindex="0" and handlers for Enter, Space, arrow keys and Escape. A tested accessible component is usually safer.

Does tabindex="0" fix a div button?

Only partly. It lets the div receive focus, but it still won't respond to Enter or Space unless you add key handlers and a role of button. Replacing it with a real button element is simpler and more reliable.

Does FunnelGuard check keyboard accessibility of forms?

No, not yet. It is a possible future check. FunnelGuard does run your form journey on a schedule and checks that the steps, tracking and test lead still work, but you need to test keyboard use manually or with a tool like Lighthouse or axe.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.