NEWSADA Title II web deadlines: April 24, 2026 (50k+ pop) · April 26, 2027 (under 50k) — Is your site compliant?ADA Title II: April 2026 & 2027 deadlinesLearn more →
React
Two options: script tag via public/index.html (simple), or the npm SDK for programmatic control.
Wrap your application with A11yProvider and render the toolbar:
src/App.tsx
import { A11yProvider, A11yToolbar } from '@angstroma/a11y-sdk'
export default function App() {
return (
<A11yProvider apiKey="ang_live_YOUR_KEY">
<A11yToolbar />
{/* your app */}
</A11yProvider>
)
}
Enable or disable features from any component using the hook:
src/MyComponent.tsx
import { useA11y } from '@angstroma/a11y-sdk'
function MyComponent() {
const { enableFeature, disableFeature } = useA11y()
return (
<button onClick={() => enableFeature('high-contrast')}>
Enable high contrast
</button>
)
}
Tip
Use Option A for most sites. Use Option B if you need to control features programmatically, load student profiles, or use AI features from your own components.