Skip to main content
🎉 A11y Issue Detection Agent is now live! Detect accessibility issues like a WCAG expert with AI. Try now!
No Result Found
Connect & Get help from 6000+ developers on our Discord community. Ask the CommunityAsk the Community

pointer-gestures-carousel

Rule Severity : Critical

Description

Carousels must provide navigation mechanisms that do not rely solely on complex pointer gestures. Along with swiping or dragging options, there should be alternate controls, such as buttons, to ensure accessibility.

Relying exclusively on path-based gestures can prevent users with motor impairments or those using specific assistive technologies from accessing all content in the carousel.

The pointer-gestures-carousel rule aligns with WCAG Success Criterion 2.5.1 (Pointer Gestures) and WCAG 2.5.7 (Dragging Movements). These criteria require that functions operated by complex gestures can also be operated by a single pointer without a path-based gesture.

Examples

In the following example, the carousel is only navigable via a swipe gesture, making it inaccessible to some users.

Incorrect Sample
Copy icon Copy

In the following corrected example, “Previous” and “Next” buttons are added to provide a single-click navigation alternative:

Correct Sample
Copy icon Copy

How to fix?

To fix violations of the pointer-gestures-carousel rule, follow these steps:

  • Identify any carousel or slider that currently responds only to swiping, dragging, or other path-based gestures.

  • Add visible, interactive elements like “Next” and “Previous” buttons or pagination dots.

  • Ensure these new controls are operable with a single click or tap.

  • Verify that these controls are keyboard-accessible and have appropriate ARIA labels.

Reference

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle