feat(enrichment): flag accessibility regressions in added markup - #3539
feat(enrichment): flag accessibility regressions in added markup#3539galuis116 wants to merge 1 commit into
Conversation
…Nbored#2026) Adds a new local REES analyzer (a11y-regression) that scans added JSX/HTML/Vue markup for four common accessibility regressions: an <img> without alt text, an onClick handler added to a non-interactive element with no keyboard handler or role, a form control with no way to associate a label, and a positive tabindex that breaks natural tab order. Pure diff-local compute, no network, follows the existing local-analyzer descriptor pattern.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 16:23:20 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
Gittensory is closing this pull request on the maintainer's behalf (conflicts with the base branch — resolve and open a fresh PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
a11y-regression) that scans PR-added JSX/HTML/Vue markup for four common accessibility regressions the no-checkout reviewer otherwise misses: an<img>withoutalt, anonClickhandler added to a non-interactive element with no keyboard handler orrole, a form control with no way to associate a label, and a positivetabindexthat breaks natural tab order.iac-misconfig.ts/size-smell.ts).{ file, line, rule }— never markup content.Fixes #2026
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateAlso ran
npm run rees:test(review-enrichment package's own node:test suite, 1049/1049 passing, including the newtest/a11y-regression.test.ts) and regeneratedanalyzer-metadata.json, the UI's generatedrees-analyzers.ts, and.env.example's generated analyzer-list comments vianpm run rees:metadata.Safety
UI Evidencesection below — N/A, no visible/UI change.UI Evidence
Not applicable — this PR only adds a backend REES analyzer and its generated metadata; there is no visible UI change.
Notes
<tag ...>opening through its closing>on one added line) are scanned, so a tag whose attributes wrap across multiple lines is not matched — kept intentionally diff-local to avoid false positives from partial tags, matching the scope in the issue.