How to test your website with only a keyboard (5-minute check)

A simple keyboard-only test any site owner can do, with what to look for and how to fix common problems.

Many people navigate without a mouse: screen-reader users, people with tremors or limited hand movement, and power users. You can test this yourself in five minutes.

The test

  1. Open your homepage and click the address bar.
  2. Press Tab repeatedly. Use Shift+Tab to go back, Enter to follow links, and Space to press buttons and tick boxes.
  3. Try to open the menu, reach every link, fill in the contact form, and close any pop-up.

What to look for

Common fixes

/* restore a visible focus style */
:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
/* keep focused items clear of a sticky header */
html { scroll-padding-top: 90px; }

Use real <button> and <a href> elements instead of clickable <div>s; they work with the keyboard automatically.

Related guides

All guides

This guide is general technical information, not legal advice. Following it does not certify ADA or any legal compliance. Automated checks find only part of accessibility barriers.

Check your own site

Run a free homepage snapshot to see your top 3 issues in about a minute, or order the $149 Fix-Pack for up to 10 pages with copy-paste fixes for your platform.

Get my free snapshot