Accessibility
Built-in, not bolted on. Fragments accessibility docs cover WCAG 2.2 AA mapping, automated audits, and WAI-ARIA guidance across 66 documented components.
Use this page to review accessibility expectations for the Fragments React component library: keyboard interaction patterns, testing coverage, and standards references used across 66 documented components.
What We Test
Keyboard Shortcuts
All interactive components follow WAI-ARIA keyboard interaction patterns.
Customizing Keyboard Shortcuts
Global shortcuts like Ctrl+B (sidebar toggle) automatically yield to editable areas — pressing Ctrl+B inside an Editor bolds text instead of collapsing the sidebar. You can also remap or disable any shortcut at the app level:
import { configureShortcuts } from '@fragments-sdk/ui';
// Remap sidebar toggle to Ctrl+\
configureShortcuts({
SIDEBAR_TOGGLE: { key: '\\', meta: true, label: 'Ctrl+\\' },
});
// Or disable it entirely
configureShortcuts({ SIDEBAR_TOGGLE: null });Component authors can use the useKeyboardShortcut hook to register handlers that automatically respect overrides and skip editable elements for global-scoped shortcuts.
Try It
Tab through the interactive elements below to experience keyboard navigation first-hand.