summary
global css checks
viewport & overflow
-
✓
global img max-width: 100%
images never overflow their container
-
✓
global canvas max-width: 100%
canvas elements scale down on small screens
-
✓
pre overflow-x: auto
code blocks scroll horizontally when needed
-
✓
overflow-x: clip on html, body
prevents horizontal scrolling on all pages
-
✓
box-sizing: border-box
consistent box model across all elements
responsive breakpoints
-
✓
mobile media query ≤700px
responsive styles for small screens
-
✓
mobile media query ≤480px
even smaller screens handled
-
✓
mobile media query ≤380px
extra-small mobile devices
-
✓
reduced-motion support
animations disabled when user prefers reduced motion
tap targets
-
✓
button min-height: 44px
all buttons are easy to tap on mobile
-
✓
input min-height: 44px
form inputs are touch-friendly
-
✓
touch-action: manipulation
prevents double-tap zoom delay
-
✓
button min-width: 44px
all buttons have sufficient width for tapping
breakpoints tested
extra small mobile
- iPhone SE (1st gen)
- old Android phones
standard mobile
- iPhone 12/13/14
- most Android phones
tablet
- iPad
- Android tablets
desktop
- most laptops
- desktop monitors
informational
277 informational warnings were logged during the audit. These are all covered by global CSS rules and do not indicate any actual overflow or tap target issues.
The site uses responsive patterns throughout:
- 51 auto-grid column patterns
- 111 flex-wrap patterns
- 15 min-width: 0 flex shrink patterns
run the audit
The responsive layout audit is a Node-based static check that runs across all HTML files in the site directory.
node tools/test-responsive-layout.mjs
This checks:
- viewport meta tag on every page
- global CSS responsive rules (max-width, overflow, box-sizing)
- button and input minimum sizes (44px tap targets)
- touch-action manipulation for mobile
- fixed-width elements that could overflow at 320px
- inline max-width/min-width that could cause issues
- canvas, image, and pre elements without responsive fallbacks
- tables without horizontal scroll on mobile
- SVG elements without viewBox
- anchors with role="button" that may need larger tap targets
The audit is part of the Nix site check and runs automatically on every build.