Public rule book · version 0.5
Every rule, in the open.
The same rules for every website. Each report names the version it used, so an old report can always be read against the rules of its day.
- 54rules
- 6areas
- 100%fixed rules
- 0.5version
The score
How the score works.
Pass, fail, or "couldn't check"
A rule only fails with evidence we can show you.
The score is points passed
Out of the points we could check. A rule we couldn't check counts neither for nor against you.
No score without enough evidence
When Google's phone test does not finish, our own browser checks the loaded page and the report says so. If neither works, or less than 60% of the points could be checked, there is no score, and the audit can be run again.
Real visitors come first
Speed is scored from real visitors when Google has their data. Otherwise the slow-phone test counts, never both.
Speed
10 rules · 34 points
ChecksGoogle's data from real Chrome visitors over the last 28 days (the slowest quarter of visits).
Passes whenThe main content shows within 2.5 seconds. Not scored when Google has no real-visitor data for the site.
ChecksGoogle's real-visitor data: how long the page takes to respond to a tap, click or key press.
Passes whenIt responds within 200 milliseconds. Not scored without real-visitor data.
ChecksGoogle's real-visitor data: how much the page moves around while it is open.
Passes whenLayout shift of 0.1 or less. Not scored without real-visitor data.
ChecksGoogle's PageSpeed test on a simulated slow phone. Used only when there is no real-visitor data.
Passes whenThe main content shows within 4 seconds.
The page weighs less than 3 MB
3 pointsChecksEverything the page downloads, as measured by Google's test.
Passes when3 MB or less in total.
No image is larger than 500 KB
3 pointsChecksEvery image the page downloads, as measured by Google's test.
Passes whenNo single image is larger than 500 KB.
The server compresses the page
2 pointsChecksGoogle's test of how the page itself is sent, or the server's Content-Encoding header.
Passes whenHTML, CSS and scripts are sent compressed (gzip, Brotli or similar).
ChecksGoogle's phone test: the time that files loading before the first paint hold the page back. Without that test, the scripts in the page head that load without async, defer or type="module".
Passes whenThe delay is under half a second. When our own browser stood in for Google's test: no file blocks the first paint. With neither: two or fewer such scripts.
ChecksGoogle's PageSpeed test on a simulated phone: how much the page moves around while it loads. Used only when there is no real-visitor data.
Passes whenLayout shift of 0.1 or less.
The server answers quickly
3 pointsChecksGoogle's phone test: how long the server takes to start answering the first request.
Passes whenIt starts answering within 0.6 seconds.
Search
16 rules · 38 points
The page has a clear title
4 pointsChecksThe <title> of the page.
Passes whenIt has one, and it is not a leftover placeholder such as "Home" or "Untitled". Length alone never fails a title.
ChecksThe meta description, the text Google often shows under your link.
Passes whenIt exists and is at least 25 characters.
The page has a main heading
3 pointsChecksMain headings (h1) on the page, including a heading that is a logo image with alt text.
Passes whenAt least one. More than one is fine.
ChecksThe robots meta tag and the X-Robots-Tag header.
Passes whenNeither says "noindex".
ChecksThe site's robots.txt file.
Passes whenIt does not block the whole site for all search engines. A site that blocks unknown crawlers but lets Google or Bing in by name passes. No robots.txt also passes.
The site has a sitemap
2 pointsChecksA Sitemap line in robots.txt, or a file at /sitemap.xml.
Passes whenEither one is found.
ChecksThe <link rel="canonical"> tag.
Passes whenThe page names its main address.
ChecksStructured data (JSON-LD) on the page.
Passes whenIt names who is behind the site: any kind of organization or local business schema.org lists (such as Bakery, Dentist or Hotel), or a person. A WebSite block counts only when it names that business or person as its publisher or author.
Links say where they go
2 pointsChecksGoogle's test of the loaded page: the words used for links.
Passes whenNo link uses empty words such as "click here", "read more" or "learn more" on their own.
ChecksWe ask the site for an address that cannot exist.
Passes whenThe site answers "not found" (404 or 410). It fails when it shows a page as if all were well.
ChecksThe other spelling of the address: with www when the site is without it, and the other way round. Only for a site on its own name.
Passes whenThe other spelling exists and leads to the same site, or shows it while the page names its one main address. Not scored for sites on a sub-address.
ChecksGoogle's check of every link on the loaded page.
Passes whenEvery link has a real address. A link that only runs a script fails.
Links on the page lead somewhere
3 pointsChecksUp to 12 links on the page that lead to other pages of the same website. We try each one.
Passes whenNone of them answers "not found" (404 or 410). A link that blocks us or times out is not counted either way.
ChecksThe page as it arrives, before any script runs: how much text it holds, and whether it is only an empty spot for a script app to fill in.
Passes whenThe words of the page are in its HTML. It fails only when the HTML holds fewer than 200 characters of text and an empty spot that a script fills in, such as <div id="root"></div>. A page that is simply short passes. Not scored when the page had to be read in our own browser.
Mobile
6 rules · 17 points
ChecksThe viewport meta tag.
Passes whenIt tells phones to fit the page to the screen: width=device-width, or a starting zoom of 1 with no fixed width.
Visitors can zoom in
2 pointsChecksThe viewport meta tag.
Passes whenZooming is not turned off, and maximum zoom is 2x or more.
ChecksGoogle's browser test for images without a set width and height.
Passes whenEvery image has its size set. Not scored when the test does not run.
ChecksGoogle's test of the loaded page on a phone: the size and spacing of buttons and links.
Passes whenEvery one is at least 24 by 24 pixels, or has enough space around it.
Images keep their shape
2 pointsChecksGoogle's check of every image on the loaded page: the shape it is shown in against the shape of the file.
Passes whenNo image is stretched or squashed.
ChecksForm fields that ask for an email address or a phone number, told by their name, label, placeholder or autocomplete. Fields for a user name or a search, fields that are switched off, and spam traps are left out.
Passes whenEach one is an email field (type="email") or a phone field (type="tel"), or asks phones for that keyboard with inputmode. Not scored when the page has no such field.
Trust and privacy
7 rules · 22 points
The site uses a secure address
6 pointsChecksThe address the page finally loads from.
Passes whenIt is https.
ChecksWhat happens when someone opens the http:// version of the address.
Passes whenIt redirects to https. Not scored when the http address answers with an error, or with a bot check from the web host, instead.
ChecksThe Strict-Transport-Security header.
Passes whenIt is set.
ChecksImages, scripts, styles and frames on the page.
Passes whenNone of them loads over http.
ChecksThe X-Content-Type-Options header.
Passes whenIt is set to nosniff.
ChecksLinks on the page.
Passes whenOne leads to a privacy policy, or to a "Policies" or "Legal" page, in any of the common languages.
ChecksTwo public records of the domain: SPF and DMARC. They tell mail servers who may send email in the domain's name.
Passes whenBoth records exist. Not scored for sites on a sub-address, which do not control them.
Accessibility basics
7 rules · 20 points
ChecksThe lang attribute on the page.
Passes whenIt is set, for example lang="en".
Images have a text description
4 pointsChecksEvery image on the page. Tracking pixels and images hidden from screen readers are left out.
Passes whenEach image has an alt attribute. An empty alt, or role="presentation", is fine for decoration. An image named by aria-label or title passes too.
Form fields have labels
3 pointsChecksForm fields people fill in. Hidden fields and spam traps are left out.
Passes whenEach has a label, an aria-label, aria-labelledby or a title. A placeholder alone does not count.
ChecksLinks and buttons people can reach. Ones hidden from screen readers and the keyboard are left out.
Passes whenEach has a name: text, an aria-label, a title, an image or icon with its own label, or for a button a label tied to it.
ChecksGoogle's test of the loaded page: the colour of text against its background.
Passes whenAll text has a contrast of at least 4.5 to 1 (3 to 1 for large text).
ChecksGoogle's check of the headings on the loaded page.
Passes whenNo heading skips a level, for example from H2 straight to H4.
ChecksEvery frame in the page that loads something, such as an embedded map, video, booking or review widget. Frames hidden from view are left out.
Passes whenEach has a name: a title, an aria-label or aria-labelledby. Not scored when the page has no frame.
Conversion basics
8 rules · 17 points
ChecksLinks and forms on the page.
Passes whenThere is a way to get in touch: a phone or email link, WhatsApp, Messenger, Telegram, a booking link, a contact, support, help or FAQ page (in any of the common languages), or an email field.
ChecksPhone numbers written on the page.
Passes whenEach one is also a tap-to-call link. Years, percentages, postcodes and made-up numbers are not read as phone numbers. Not scored when the page shows no phone number.
ChecksEmail addresses written as text on the page.
Passes whenEach one is a link that opens a new message. Made-up example addresses and fediverse handles (@name@server) do not count. Not scored when no address is written out.
The page loads without errors
2 pointsChecksGoogle's test of the loaded page: the errors the browser reports while loading, and which website each failing file is on.
Passes whenNone of them come from the website's own files. Errors from other companies' files, such as a tracker the test browser blocks, are listed in the report and not counted.
ChecksThe icon link in the page head, or a file at /favicon.ico.
Passes whenOne of them exists.
ChecksThe newest year in the copyright line of the page.
Passes whenIt is this year or last year. Not scored when no year is written out.
Images are sharp
2 pointsChecksGoogle's check of every image on the loaded page: the pixels in the file against the space it fills on a phone screen.
Passes whenEvery image has enough pixels to look sharp.
ChecksThe text of the page, parts that open on a click included, and its title and description.
Passes whenThere is no "Lorem ipsum" filler text, and no "Just another WordPress site", the tagline WordPress starts with.
Shown, never scored
0 points
The report also shows the platform the site is built with, the marketing tools on the page, and how it handles AI crawlers. These are for information. They never change the score.
The limits
What the rules don't do.
- They don't judge design or taste. Only what a machine can prove.
- They don't guess. Every rule is fixed code that passes or fails on evidence, so the same facts always give the same result. No person and no AI can nudge a score.
- They check one page per audit: the address you give.
- They change only in a new version, or in a correction listed below that fixes a rule which failed pages done right. Old reports keep the version they used.
What changed
New in rule book 0.5.
A new version can ask more of a page. This one adds 4 rules, from 50 to 54. Reports made with an older version keep it, and a re-check also scores the page by the rules of the first report, so the two can be compared.
- The page tells Google who is behind it. A WebSite block alone no longer counts: it has to name the business or person behind the site. Any kind of organization, local business or person still counts on its own.
- AI tools and search engines can read the page. New, 3 points: the page's words have to be in its HTML. A page that arrives almost empty and is built by scripts in the browser fails, because AI assistants and other tools that do not run scripts see nothing.
- Phone and email fields bring up the right keyboard. New, 2 points: a field for an email address or a phone number has to be an email or phone field, so phones open the right keyboard. Not scored on a page without such a field.
- Embedded maps and videos have a name. New, 2 points: every embedded map, video or widget needs a title, so screen readers can say what it is. Not scored on a page without one.
- The page has no leftover placeholder text. New, 2 points: no "Lorem ipsum" or other filler text left from a template.