feat(eslint): add jsx-a11y accessibility rules as warnings

Install eslint-plugin-jsx-a11y and add 24 recommended rules to the
nextjs ESLint config, all set to warn. Baseline: 292 warnings
(207 label-has-associated-control, 52 no-static-element-interactions,
22 click-events-have-key-events, 10 no-autofocus, 1 html-has-lang).

Will be upgraded to errors after Phase 5c fixes core components.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 22:59:15 +02:00
parent 6830bfb314
commit 09dcedb646
3 changed files with 148 additions and 249 deletions
+3
View File
@@ -18,5 +18,8 @@
"peerDependencies": {
"eslint": "^9.0.0",
"typescript": "^5.0.0"
},
"devDependencies": {
"eslint-plugin-jsx-a11y": "^6.10.2"
}
}