RU Русская версия

Website layout testing: devices and browsers

26 checks: how a site looks on phones, tablets, and desktops, whether text gets cut off, and how the site works in different browsers.

  • 26checks
  • 5groups
  • 6 minread

Published updated by Sergey Polyakov

Designs are approved on a large monitor, but orders are placed on phones: phones account for 60⁠–⁠80% of online store visitors. A site that cuts off the Checkout button on an iPhone SE loses money every day, and the owner does not know it, because everything looks fine on their computer.

We check the layout against a 26⁠-⁠point checklist in five groups, on every page type: home page, section, product page, cart, checkout, customer account, article, and contact page.

GroupChecks
Screen widths8
Text overflow and clipping5
Browsers5
Errors5
Printing and sharing3

1. Screen widths: 8 checks

From 320 to 1920 px

WidthDevices
320 pxiPhone SE, small Android phones
360⁠–⁠414 pxMost phones
768 pxTablet in portrait
1024 pxTablet in landscape, small laptops
1100⁠–⁠1366 pxLaptops: the grid already has several columns, but space is tight
1440⁠–⁠1920 pxDesktops

At each width, we check that there is no horizontal scrolling. We look separately at long words, email addresses, and tables: a single long word in a heading, such as a product code or a German compound noun, can stretch the page on a phone.

Between the test widths, we resize the window smoothly: layouts often break at 900 or 1100 px, where there was no mockup.

2. Text overflow and clipping: 5 checks

Text fits where it is placed

A page can have no horizontal scrolling and still look broken: a label sticks out of a field, button text runs past the button’s edge, a heading is cut off with an ellipsis. Neither the W3C validator nor automated accessibility tests catch these errors.

  • Form field labels and hints fit inside the field and do not wrap to a second line.
  • Button text fits inside the button, and the button text does not wrap onto three or more lines.
  • Text is not clipped by its block (hidden overflow, ellipsis) where it needs to be shown in full.
  • Text does not overlap other text, fields, or buttons.
  • The layout holds up with increased line, word, and letter spacing (WCAG 1.4.12) and with text enlarged to 200% (WCAG 1.4.4).

An example from our work: on one site, the “How should we address you *” label inside a form field in the hero section wrapped to a second line and spilled out of the field at widths from 768 to 1920 px. There was no horizontal scrolling, and neither automated accessibility testing nor the W3C validator reported any errors.

3. Browsers: 5 checks

Safari, Firefox, and older phones

Chrome, Edge, and Yandex Browser, which is popular in Russia, all run on the same engine, so the main risks come from other browsers:

  • Safari on iPhone and Mac has its own engine and quirks, and versions before 15.4 do not support some modern CSS;
  • Firefox versions before 121 lack the :has() selector;
  • browsers on older Android phones that no longer get updates.

If the layout relies on modern CSS features (:has(), inset, gap in flexbox), we check the fallback for older browsers.

4. Errors: 5 checks

Console, W3C, and built-in pages

  • No JavaScript errors in the browser console. One error early in a script can disable the cart or a form on the whole page.
  • No broken links to images, stylesheets, or scripts.
  • The code passes the W3C validator without errors, and there are no duplicate ids on the page.
  • The platform’s built-in pages (cart, checkout, sign-in, customer account) are styled like the rest of the site. In OpenCart, they keep the styles of the default Bootstrap theme, which override the header and footer design: links darken on hover, and the focus indicator disappears. We compare every link and button in the header, menu, and footer in the default state, on hover, and on keyboard focus.

Accessibility, such as contrast, keyboard use, and labels for screen readers, is checked against a separate 35⁠-⁠point checklist: Website accessibility.

5. Printing and sharing: 3 checks

Small things customers notice

  • The favicon in the browser tab, in bookmarks, and on the phone home screen.
  • A link shared in a messaging app shows a title and an image.
  • Contact and order pages print correctly.

How we check

  • We capture pages automatically at every test width and compare them with the static HTML prototype.
  • We find text overflow and clipping with a script: it goes through every page of the site at 15 widths from 320 to 1920 px, including 1100⁠–⁠1366 px, then repeats the check with increased text spacing and with text at 200%.
  • We check links and buttons on hover and focus with a script that compares computed styles with the layout.
  • We test Safari and older Android phones on real devices and in cloud testing services.
  • We check accessibility in Lighthouse, go through the site with a keyboard only, and verify the contrast of brand colors.
  • We run the code of every page type through the W3C validator.

What we build into every site

  • We build layouts from 320 px up and check the in-between widths. Fields, buttons, and cards are designed for text longer than in the mockup.
  • Brand colors are chosen with a contrast ratio of at least 4.5:1 on light and dark backgrounds. The rules go into the brand book that comes with the site.
  • Labels on all fields and icon buttons, a visible focus indicator, and animations that turn off with the system setting.
  • The platform’s built-in pages are styled like the rest of the site.
  • We hand over the site with no W3C or console errors on any page type.

Besides layout, before launch we check every site in seven more areas: SEO, Russian legal compliance, AI search optimization, page speed, security and email, accessibility, and analytics and leads.

Checklist: 26 checks

We check every site against this list before launch, and run it as a standalone audit.

Screen widths8 checks

  1. 320 px: small phones
  2. 360⁠–⁠414 px: most phones
  3. 768 px: tablet in portrait
  4. 1024 px: tablet in landscape and small laptops
  5. 1100⁠–⁠1366 px: laptops, where the grid already has several columns but space is tight
  6. 1440⁠–⁠1920 px: desktops
  7. No horizontal scrolling at any width
  8. Long words, email addresses, and tables do not break the page

Text overflow and clipping5 checks

  1. Form field labels and hints fit inside the field and do not wrap to a second line
  2. Button text fits inside the button, and the button text does not wrap onto three or more lines
  3. Text is not clipped by its block (hidden overflow, ellipsis) where it needs to be shown in full
  4. Text does not overlap other text, fields, or buttons
  5. The layout holds up with increased text spacing (WCAG 1.4.12) and text at 200% (WCAG 1.4.4)

Browsers5 checks

  1. Chrome, Yandex Browser, Edge: latest versions
  2. Safari on iPhone and Mac, including versions before 15.4
  3. Firefox, including versions before 121
  4. Browsers on older Android phones
  5. Modern CSS features (:has, inset, gap) have a fallback

Errors5 checks

  1. No JavaScript errors in the browser console
  2. No broken links to images, stylesheets, or scripts
  3. Page code passes the W3C validator without errors
  4. No duplicate ids on the page
  5. The platform’s built-in pages (cart, checkout, sign-in, customer account) are styled like the rest of the site

Printing and sharing3 checks

  1. A favicon for the browser, bookmarks, and phone
  2. A link shared in a messaging app shows a title and an image
  3. Contact and order pages print correctly

Layout audit

We check your site against 26 points at every width and in the main browsers, and send screenshots of the errors we find. From $200 per area. Free for sites we build.

Request an audit

More articles

What we check in a website audit and how to fix it: an article for each area.

All articles

Let’s talk

We will check your site against 26 points at every width and in the main browsers, and send screenshots of the errors we find. We reply within one business day.

  • Emailinfo@studiops.ru
  • Messaging app
  • OfficeBalashikha, Moscow Region, Russia
    Mon–Fri, 8 a.m.–5 p.m. Moscow time (UTC+3)
What can we help with?