You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visual regression checks. Two new scripts capture structural + computed-style snapshots of every detected route — before any edit and after — then diff them and surface findings as a "Risks" section in report.md.
scripts/visual-snapshot.mjs <before|after> — Playwright-backed; captures up to 5000 elements per route with their tag/role/aria/text/computed-style. Falls back silently if Playwright isn't installed.
scripts/visual-diff.mjs — compares snapshots and emits .ui-modernizer/risks.json with severity-tagged findings (high / medium / info).
Risk categories (high): missing interactive element, lost aria-label, WCAG AA contrast regression (< 4.5:1).