Package Exports
- @aishware/react-a11y
- @aishware/react-a11y/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aishware/react-a11y) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@aishware/react-a11y
A static accessibility scanner for React and React Native. It analyzes your
TSX/JSX with the TypeScript compiler and reports WCAG 2.2 issues with
file:line locations — no browser, no rendering, no configuration.
The installed command is react-a11y.
# audit the current project (platform auto-detected from package.json)
npx @aishware/react-a11y .
# explicit platform
npx @aishware/react-a11y apps/mobile --platform native
# machine-readable output
npx @aishware/react-a11y . --format json
npx @aishware/react-a11y . --format sarif --output a11y.sarif # GitHub code scanning
# gate CI: exit 1 when serious or critical issues exist (default)
npx @aishware/react-a11y . --fail-on serious
# apply safe mechanical fixes (e.g. miscapitalized React Native accessibility props)
npx @aishware/react-a11y . --fix
# scan only files changed in git — fast PR checks
npx @aishware/react-a11y . --changed
# every rule with severity + WCAG mapping, or the coverage report
npx @aishware/react-a11y --list-rules
npx @aishware/react-a11y --coverageInstall globally to get the bare react-a11y command:
npm install -g @aishware/react-a11y
react-a11y .Full documentation, rule list and configuration: https://github.com/1aishwaryasharma/react-a11y
License
MIT