Documentation
Everything you need to ship accessible apps.
Guides, API references, and examples for AccessKit's provider, dev tool, and accessibility widget.
Start with a guide
Introduction
Understand how AccessKit's three layers fit together and when to use each one.
Installation
Install the package and configure it for Next.js, Remix, Vite, or any React project.
Dev Tool
Add the floating devtools panel for real-time accessibility auditing in development.
Widget
Drop in the accessibility widget so your site users can control their experience.
Quick Start
Get from zero to a fully integrated AccessKit setup in four steps.
npm install @access-kit/reactAPI Reference
AccessKitProviderRoot context provider. Wraps your entire application.
AccessKitDevToolsFloating devtools panel for accessibility audits.
AccessibilityWidgetEnd-user floating accessibility control panel.
useAccessKitHook to access and update accessibility settings from any component.
Code examples
Auditing in CI
Run headless accessibility audits in GitHub Actions or any CI pipeline so regressions block merges.
Programmatic Audits
Call runAccessibilityAudit from tests or scripts without the DevTools UI.
Custom Reporting
Format findings with formatAuditFindingsForConsole or build your own reports from AccessKitAuditFinding.
WCAG Coverage
AccessKit audits against WCAG 2.0, 2.1, and 2.2 success criteria at Levels A, AA, and AAA by default. Below is a small summary of commonly flagged rules.
Non-text Content
Level AAll images must have alt text.
Contrast (Minimum)
Level AAText contrast ratio must meet 4.5:1.
Keyboard
Level AAll functionality accessible via keyboard.
Focus Visible
Level AAKeyboard focus indicators must be visible.
Language of Page
Level Alang attribute must be set on the html element.
Name, Role, Value
Level AAll interactive elements must have accessible names.