文章《Automated Accessibility Testing for React》提出:自动化无法取代人工,但能提前拦截常见无障碍缺陷。最低成本方案是给所有 React 项目加装 eslint-plugin-jsx-a11y;若已用 React Testing Library,坚持语义查询即可同步做单元层检测。E2E 层推荐在 Cypress/Playwright 中插入 axe-core(cypress-axe 或 @axe-core/playwright),Storybook 用户可一键启用 addon-a11y。部署后可用 Lighthouse CI 或 pa11y 扫描整站。作者强调仍须键盘-only 走查与真机屏幕阅读器测试作最终兜底。
https://howtotestfrontend.com/resources/accessibility-testing-your-react-app
https://howtotestfrontend.com/resources/accessibility-testing-your-react-app