Phone first: how a website is checked before handover
A large monitor forgives a lot, a phone almost nothing. Six checks carried out on every site, and the problems from our own projects that led to them.
- Mobile
- Performance
- Accessibility
Websites are usually built at a desk, on a large monitor, and look fine on it. Customers, however, often view them on a phone: in the car, in a queue, on a building site. Only there does it become visible that text runs off the screen, a button is hard to hit with a thumb, or a photo takes a long time to load.
For this reason work starts with the phone and is checked on it to the end. Below are six checks applied to every site.
1. A narrow screen, from 320 pixels
The narrowest phones still in use have a screen 320 pixels wide. If a site works on them, it works on larger ones too. Widths of 320, 360, 375, 390 and 430 pixels are checked, because that is where errors most often appear: long words in headings, tables, two columns too narrow on a small screen. This is how a problem was found in the German version of this site, where long words ran off the screen.
2. No sideways scrolling
A site on a phone should scroll only downwards. A single element a few pixels too wide is enough to make the whole page slide sideways, which looks like a bug. In Obligacje.tech this happened after one icon was added to the menu: on a screen 320 pixels wide an element stuck out by 7 pixels. Since then the check has not been done by eye. An automated test opens the pages on several narrow screens and measures whether anything sticks out.
3. Buttons sized for a thumb
Every button and link is at least 44 pixels tall. This minimum size for touch targets is recommended by Apple's guidelines, and Google recommends a slightly larger value. Smaller buttons cause mis-taps: the customer hits the neighbouring link and lands somewhere they did not intend. In StoneLab the icon buttons were initially 16–18 pixels. A script detected them, which is why this threshold is now checked by a test.
4. Readable text
Grey text on a dark background looks elegant until someone walks out into the sun with their phone. Text contrast is checked against the WCAG standard at level AA, including where text sits on a photo or a graphic.
5. Speed on a slower phone
The site is measured in Lighthouse in mobile mode, which simulates a slower phone and a weaker connection. The target is at least 90 points out of 100. Simple measures usually help most: photos in light formats and sized for the screen, fewer scripts, and heavier elements loaded only once the page is ready to be read. For StoneLab a showy 3D background was also built and ultimately dropped, because it slowed the site down too much on phones.
6. Animations that do not interfere with content
Animations are part of this site, but they have to run smoothly and must not hide the content. In StoneLab, scroll animations could leave whole sections invisible on phones. The content is now visible from the start and the animation is only an addition. If the system has reduced motion turned on, animations are switched off and the content is visible straight away.
Checking on real phones
Automated tests catch most problems, but not all of them. Before a site is handed over, it is also clicked through on real phones: whether the form can be filled in with one hand, whether the phone number dials when tapped, whether the menu opens and closes without doubt.
This site goes through the same tests with every change. To find out how a phone copes with a business's current site, write to us.