A11yvanto.online Request an Accessibility Audit

Free tool

Keyboard Demo

Put your mouse aside. Use Tab, Shift+Tab, Enter, Space, the arrow keys and Escape to try two common components built the way keyboard users expect.

Press Tab to move into the demo.

1. A disclosure menu

A disclosure is a button that shows or hides content. The button says whether the content is open, and the content follows it straight away in the tab order. Press Escape while focus is on the button or inside the open content to close it; focus returns to the button.

2. A set of tabs

Only the selected tab is in the tab order. Once a tab has focus, use the Left and Right arrow keys to move between tabs, and Home or End to jump to the first or last. Press Tab again to move into the panel.

An audit tests a sample of pages against WCAG 2.2 Level AA and lists what needs fixing.

Remediation fixes issues in templates, components and content, then retests them.

Monitoring checks new and changed pages on a schedule.

What to notice

  • Visible focus. A thick outline shows where you are at every step. WCAG 2.4.7 asks for a visible focus indicator, and 2.4.11 asks that it is not hidden by other content.[1]
  • Buttons, not links, for actions. The disclosure uses a real button, so Enter and Space both work and screen readers announce it as a button with its expanded or collapsed state.
  • Predictable keys. Tabs follow the common arrow key pattern, so people who have used tabs elsewhere know what to do.
  • No traps. You can always Tab out of each component. WCAG 2.1.2 asks that focus can always be moved away.[1]
  • A quiet status line. The line at the top of the demo shows which element has focus after each Tab, which helps sighted testers learn the order. It is not announced by default, so screen reader users do not hear everything twice; tick the box if you want each change read out.
  • Escape closes. Escape closes the open disclosure and puts focus back on its button, so nobody is left inside content that has disappeared.

Common failures to compare

On many sites you will find menus that open only on mouse hover, tabs built from links that reload the page, and custom buttons made from plain div elements that cannot be reached by Tab at all. Try the same keys on your own site and see what happens. Our guide to keyboard accessibility basics explains each of these problems and how to fix them.

Sources

Sources checked on 3 November 2026.

  1. Standard. Web Content Accessibility Guidelines (WCAG) 2.2, W3C, W3C Recommendation, 12 December 2024 edition.