mirror of
https://github.com/TanStack/devtools.git
synced 2026-11-16 10:49:48 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
History
|
|
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Basic React example
Run the example from the repository root:
pnpm --filter @tanstack/devtools-example-react-basic dev
The accessibility plugin is registered only in development builds. The page's A11yAuditFixture deliberately includes three violations so the plugin has deterministic findings to display:
image-alt: an image without alternative textbutton-name: an icon-only button without an accessible namelabel: an input without an associated label
The fixture is intentionally invalid test content, not an accessibility pattern to copy. Browser extensions, environment differences, or future audit rules may report additional findings.