Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
2.0 KB
Raw Blame

Mobile Web Health Score

Run this after a QA pass at a 375×812 viewport. The score is out of 100 points. Each category owns a fixed number of points; findings subtract from that category's points only, and a category can never drop below 0 points.

Point allocation

Category Points Deductions
Crashes & blank screens 25 −25 if any page crashes or renders blank (one occurrence empties the category)
Tap targets & controls 20 −5 per control that cannot be tapped or does nothing; −2 per tap target smaller than 44×44 CSS px
Layout 15 −5 per page with horizontal scroll; −3 per overlapping or clipped element
Forms 15 −8 per form that cannot be submitted; −4 per field with the wrong keyboard type or no label
Speed 15 Slowest page load (navigation timing, load event): ≤3s lose 0; 3-6s lose 5; 6-10s lose 10; >10s lose 15
Console 10 0 unique errors lose 0; 1-3 lose 4; 4+ lose 10

Total available: 100.

Counting rules

  • One defect counts once, even if it appears on several pages (for example, a shared footer link).
  • A defect counts in the first category that fits, in table order. A crash is never also counted as a layout or console finding.
  • "Unique" console errors are deduplicated by message text.
  • Boundaries: a load of exactly 3.0s is "≤3s"; exactly 6.0s is "3-6s"; exactly 10.0s is "6-10s".

Untested categories

If a category was not checked (for example, the site has no forms), remove its points from the total available and rescale: score = round(100 × points_kept ÷ points_available). Report which categories were removed. Round half up.

Output

Report the per-category points kept, the final score, and one sentence naming the largest deduction.

Example: no crashes (25/25); two small tap targets (16/20); one page with horizontal scroll (10/15); no forms (removed); slowest load 4.2s (10/15); 2 console errors (6/10). Kept 67 of 85 available → 100 × 67 ÷ 85 = 78.8 → 79. Largest deduction: Layout and Speed (−5 each).