Scrollable regions must be keyboard accessible

keyboard-accessible/scrollable-region · WCAG 2.1.1 · Level A

Scrollable regions must be keyboard accessible.

Content that scrolls must be accessible to keyboard users. If a region has overflow:scroll or overflow:auto and contains scrollable content, it needs either tabindex='0' to be focusable, or it must contain focusable elements. Without this, keyboard users cannot scroll the content.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0