CSS Scroll Snap Focus & Reduced-Motion Guard
PRESERVE-WHAT-WORKS
Create a checkpoint first. This read-only package changes no design, layout, routes, content, CSS, data, auth, checkout, SEO, analytics, or unrelated behavior. Touch only the evidence adapter and the smallest lines required by verified findings.
- Run
npm test. - Map one real scroll region into the documented evidence contract.
- Review every finding; do not auto-edit customer code.
- Test keyboard entry/exit, focus visibility, zoom/reflow, touch, reduced motion, responsive layout, and existing regressions.
- If structure or visual language must change, stop: PRESERVATION CONFLICT / REVIEW REQUIRED.
- Rollback by removing the adapter and reverting only targeted changes.
- Publish only after environment-specific checks pass.
Compatibility: Node 18+ for auditing; framework-neutral evidence input. No browser or assistive-technology behavior is verified automatically.