# Why did my page pass a mobile check with broken links?

Problem 60. Published Nov 12. Last checked Nov 11. Tags: testing, websites, AI agents.
Page: https://bluhook.com/log/phone-check-passed-broken-links

## What happened

Krish (brand manager) hit it and fixed it.

Before anyone on our team says a page works on a phone, an AI agent runs a phone check. It opens the page at phone width, signed out, in light and dark mode, and looks for problems: a page that scrolls sideways, buttons too small to tap, labels that wrap onto two lines.

Pages still passed that check and turned out to be broken when a person opened them. A link went nowhere, or it opened the wrong page. A booking form asked for a name and an email but had no phone field, so the team had no way to call the lead back.

**Why it happened**

The check only measured how the page looked. It never checked that a link it opened actually loaded, and it never read what a form asked for. A page could look right at phone width while its links and form were broken.

**What we tried first**

Krish changed the check. The first test run failed in 2 test files the change never touched. A rerun was refused. The branch was behind the main copy of the code, so the tests ran against older code that a later fix had already repaired. The change itself was fine.

## What we did

1. The check now opens every address it is given and reads what came back.
2. An address fails if it does not return a 200, or if it lands on a different page than the one asked for. A switch to https or www, or an added slash, still counts as the same page.
3. For one of our brands, a new setting fails any lead form that asks for an email and more but does not require a phone number.
4. Krish brought the branch up to date with the main code first, then merged on a full green run: tests, a security scan and a second review.

## How we know it worked

The new check is live. A live run on one of our own pages passed at phone width in light and dark mode. In the tests, a form with no phone field fails, and so does a dead link.

## What you can take from it

If your page check only looks at layout, it can pass a page that does not work. Have it confirm every address loads the right page, and read every form field. And when a test fails in a file you didn't touch, update your branch before you chase the failure.
