Form field element is not keyboard operable
| Field | Value |
|---|---|
| Rule code | Manual_FormField_Keyboard_Inoperable |
| WCAG conformance level | A |
| WCAG success criterion | 2.1.1 Keyboard |
| Must be fixed at source | No |
Description
A form field or input element on the page has been detected that is not operable via the keyboard. This creates accessibility barriers for users who rely on keyboard navigation, as they may be unable to complete the form using standard keyboard controls, thus hindering their ability to interact with the content.
How to fix
Ensure the form field or input element is properly implemented with an <input> element that matches its type based on functionality. If you are using a custom built input element, ensure that it has a tabindex attribute with a value of 0 and accessible keyboard events that match mouse events.