Skip to main content
Version: v6

Tabset is not keyboard operable

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

Description

A tabset has been detected that is not operable via keyboard controls, making it unusable for users who rely on keyboard navigation. Proper keyboard operability is essential in allowing all users to interact with the tabset effectively.

How to fix

Ensure that the tabset is keyboard operable by implementing keyboard navigation using event listeners for keydown events. For example, allow users to switch tabs using the arrow keys: document.addEventListener('keydown', function(event) { if (event.key === 'ArrowRight') { /* Switch to next tab */ } });.