Barrierefreiheit | Blog | Tutorials and know-how

How can you check if a website has keyboard accessibility issues?

Eckhard Schneider
Published by Decareto
·
8min read
·
October 15, 2026
Futuristische Tastatur schwebt im Raum, eine Taste leuchtet elektrisch blau – Symbol für eingeschränkte Tastaturnavigation.
Table of Contents

You can identify keyboard accessibility issues by navigating a website using only the Tab key, the arrow keys and the Enter key, whilst checking whether all interactive elements are accessible, operable and visibly in focus. If you come across elements that cannot be selected, do not display a visible focus frame or block navigation, you have found a keyboard barrier. This article answers the most important questions about keyboard accessibility, manual testing and suitable tools.

Which elements of a website must be operable via the keyboard?

All interactive elements on a website must be accessible and operable via the keyboard. These include links, buttons, forms, drop-down menus, dialogue boxes, accordions, sliders, tabs and all other controls that allow users to trigger an action or access content. Purely decorative or static content, on the other hand, does not need to be focusable.

This requirement stems from WCAG Success Criterion 2.1.1 (Keyboard, Conformity Level A): all functions that can be performed with a mouse must also be performable using the keyboard. This applies to blind people who cannot use a mouse, as well as people with motor impairments who rely on a keyboard, switch control or other input devices. Read more about this in The three fundamentals of keyboard accessibility.

In practical terms, this means the following for common website elements:

  • Navigation and menus: All menu items, including drop-down sub-menus, must be able to be opened and closed using the keyboard.
  • Forms: Every input field, checkbox, radio button and button must be focusable and operable.
  • Modal dialogues and overlays: When opened, focus must move to the dialogue window and return to its original position when closed.
  • Carousels and sliders: Controls for scrolling forwards and backwards must be operable via the keyboard.
  • Consent banners: All options in the cookie banner must be selectable without using a mouse.

How do you manually test keyboard accessibility on a website?

You can carry out a manual keyboard accessibility test by setting the mouse aside and navigating the website using only the keyboard. The most important keys for this are Tab (next element), Shift+Tab (previous element), Enter (trigger an action or follow a link), Space bar (checkboxes, buttons) and the arrow keys (navigation in menus, sliders, radio groups).

Proceed systematically during the test:

  1. Check the starting point: Load the page and press Tab once. Does the focus jump to a meaningful first element?
  2. Go through all interactive elements: Press Tab repeatedly and observe whether every clickable element is selected and whether a visible focus indicator appears.
  3. Trigger actions: Activate links, buttons and form elements using Enter or the space bar and check whether the expected action occurs.
  4. Testing modal dialogues: Open overlays and check whether focus is directed into them, whether all controls are accessible, and whether pressing Escape closes the window.
  5. Checking the tab order: Does the tab order correspond to the visual layout of the page? Unexpected jumps indicate problems in the HTML source code.
  6. Final check: Are there any points where focus is lost or navigation gets stuck?

Important: Manual testing is indispensable when testing accessibility. Automated tools typically only detect 30 to 50 per cent of all accessibility issues. Keyboard accessibility is one of the areas that can often only be reliably identified through manual testing. How to check whether websites can be operated using a keyboard.

How can you tell if a focus indicator is missing or invisible?

You can tell if a focus indicator is missing or invisible because, when navigating using the Tab key, no visible border, no highlighting and no other visual signal appears on the element currently in focus. If, whilst tabbing through a page, you cannot see which element is currently active, this constitutes a breach of WCAG Success Criterion 2.4.7 (Visible Focus).

This problem often arises because developers suppress the browser’s standard focus border using CSS with outline: none or outline: 0 to streamline the visual design. The result is a page that looks visually appealing to mouse users but is virtually unusable for keyboard users.

When testing, look out for the following signs:

  • The focus appears to jump without any element being highlighted.
  • An element is in focus (as indicated by the Enter key triggering an action) but is visually indistinguishable from its surroundings.
  • The focus indicator is present but has such low contrast that it is barely perceptible.

WCAG 2.2 has further clarified the requirements for focus indicators with Success Criteria 2.4.11 (Focus Not Hidden, Minimum) and 2.4.12 (Focus Not Hidden, Enhanced). A conforming focus indicator must have a minimum size and sufficient contrast.

What is a keyboard trap and how can you recognise one?

A keyboard trap is a situation in which the keyboard focus becomes trapped within an element or area of a website and can no longer be exited using the Tab key or other standard keys. The WCAG Success Criterion 2.1.2 (No Keyboard Traps, Conformity Level A) expressly prohibits such traps.

Typical scenarios in which keyboard traps occur:

  • Modal dialogues without correct focus management: The dialogue opens, but the focus remains behind the overlay. Users tab through invisible elements without being able to interact with or close the dialogue box.
  • Embedded content: Iframes or embedded maps (e.g. Google Maps) can trap the focus, making it impossible to exit them using the Tab key.
  • Custom widgets: Custom-developed controls that do not implement correct keyboard interaction can block the focus.

You can identify a keyboard trap by attempting to navigate out of every area of the page during manual testing. If you cannot navigate out of an element using Tab, Shift+Tab or Escape, a keyboard trap is present. Make a note of the affected area and the browser used, as behaviour may vary depending on the browser.

Which tools help to identify keyboard barriers?

Automated scanning tools, browser extensions and screen readers all help to identify keyboard barriers. No single tool covers all keyboard-related issues. The most effective approach is a combination of automated scanning and manual testing.

Automated scanning tools

Automated tools such as accessibility software based on the open-source axe-core library check the HTML source code for compliance with WCAG guidelines. They typically detect issues such as missing ARIA attributes, incorrectly structured focus sequences in the source code, or a lack of keyboard support for certain element types. The advantage is that hundreds of pages can be scanned in a short space of time. The disadvantage: whether an element is actually accessible via the keyboard can often only be reliably determined through manual interaction.

Browser extensions and manual tools

The following tools are also recommended:

  • axe DevTools (browser extension): Analyses the current page directly in the browser and highlights accessibility issues in the DOM.
  • WAVE (Web Accessibility Evaluation Tool): Displays errors and warnings directly on the page, including notes on missing focus indicators.
  • Screen readers (NVDA, JAWS, VoiceOver): Enable you to experience the page as blind users perceive it, and reveal problems that automated tests cannot detect.
  • Browser-native developer tools: Using the Tab key in the inspector allows you to trace the focus order in the DOM.

What are the most common causes of a lack of keyboard accessibility?

The most common causes of a lack of keyboard accessibility are CSS rules that suppress the focus indicator, the use of non-semantic HTML elements for interactive controls, and missing or incorrect ARIA implementations. These errors are generally not intentional, but result from a lack of awareness of the requirements for accessible web development.

Specifically, the following causes are particularly common:

  • Suppressed focus indicator: outline: none in CSS removes the focus outline globally without defining an equivalent replacement.
  • Incorrect HTML elements: If a <div> or <span> is used as a button instead of a <button>, the element cannot be focused via the keyboard by default and does not respond to the Enter key or the space bar.
  • Missing tabindexhandling: Custom widgets are not assigned tabindex=‘0’to be included in the tab order, or are assigned tabindex=‘-1’without alternative keyboard control.
  • Modals without a focus trap: Dialogues are opened without actively directing focus to the dialogue and keeping it there until it is closed.
  • JavaScript-based interactions without keyboard event handlers: Click events are implemented, but no corresponding keyboard events (keydown, keyup), meaning the function can be triggered via the mouse but not via the keyboard.
  • Dynamically inserted content: Content or notifications inserted following AJAX requests do not receive focus and are invisible to keyboard users.

Rectifying these issues does not require a fundamental redesign of a website. In many cases, targeted corrections to HTML and CSS are sufficient to significantly improve keyboard accessibility.

How decareto helps identify keyboard barriers

Here at decareto, we offer automated accessibility software that checks websites for accessibility issues in accordance with WCAG, BITV and the requirements of the Accessibility Enhancement Act (BFSG). Our platform supports the identification of keyboard barriers in the following ways:

  • Automated scan based on axe-core: We check the HTML source code of every subpage for violations that prevent or hinder keyboard accessibility, such as missing ARIA attributes, incorrectly structured focus sequences or non-semantic elements.
  • Prioritisation by severity: Issues found are classified by criticality, so you know which keyboard accessibility barriers should be resolved first.
  • Manual issue logging can be added: As keyboard accessibility is one of the areas only partially covered by automated testing, issues found manually can be logged directly in the report and assigned to a WCAG criterion.
  • Continuous monitoring: Hundreds of websites can be monitored continuously. You receive automatic notifications of any changes, ensuring that newly arising keyboard accessibility barriers are identified at an early stage.
  • Shareable reports: Reports can be shared directly with clients or development teams, including a white-label option for agencies.

Please note: A good scan score is an important starting point, but it is no substitute for a full manual review. Automated tests typically cover only a portion of potential accessibility issues. For a comprehensive assessment, we recommend combining an automated scan with manual testing, carried out by specialist service providers where necessary.

Would you like to check your website for keyboard barriers and other accessibility issues? Try decareto now and get an initial overview in just a few minutes.

Unser kostenloser Leitfaden Tastaturbedienbarkeit richtig umsetzen für Web-Teams und Agenturen zeigt Ihnen anhand konkreter Beispiele, wie Sie typische Fehler bei der Tastatursteuerung vermeiden und die WCAG-Anforderungen technisch umsetzen.  Hier geht es zum kostenlosen Leitfaden →

Related Articles

Social Share:

Explore more related blogs

1min read
·
November 11, 2026
In diesem Leitfaden beschreiben wir die zehn wichtigsten Punkte für die technische Umsetzung und bieten ...
1min read
·
November 10, 2026
How can data protection professionals audit websites with less effort? Find out which GDPR checks ...
1min read
·
November 9, 2026
Why a scan alone isn’t enough, and how to identify, assess and prioritise barriers on ...