Skip to main content
Version: v6

Button element is not keyboard operable

Button element is not keyboard operable — rule summary
FieldValue
Rule codeManual_Button_Keyboard_Inoperable
WCAG conformance levelA
WCAG success criterion2.1.1 Keyboard
Must be fixed at sourceNo

Description

A button element on the page has been detected that is not operable via the keyboard. This can create accessibility barriers for users who rely on keyboard navigation, as they may be unable to activate the button using standard keyboard controls, hindering their ability to interact with the interface

How to fix

Ensure the button is implemented correctly with an actual <button> element or a link styled as a button that can be focused and activated using keyboard controls. For example: <button onclick="doSomething()">Click Me</button> or <a href="#" role="button" onclick="doSomething()">Click Me</a>.