Website checklist
Every rule in the website playbook, by chapter, required rules first. Each links to its own page with how we built it and how to check it. This is a lot to check. An Expert can check it for you.
HTML basics
- Required WEB-2 Say the page's language
- Required WEB-6 Give every page its own title
- Recommended WEB-1 Start every page with the doctype
- Recommended WEB-3 Declare UTF-8 first
- Recommended WEB-4 Fit the page to the phone
- Recommended WEB-5 Keep the HTML valid
- Recommended WEB-7 Write a summary for search results
- Recommended WEB-8 Ship a full set of icons
- Recommended WEB-10 Support light and dark from the start
- Recommended WEB-11 Control how shared links look
- Recommended WEB-12 Point readers to your feed
- Recommended WEB-13 Keep your feed clean and valid
- Optional WEB-9 Colour the browser bar to match
- Optional WEB-14 Push feed updates to subscribers
Site architecture
- Required WEB-23 Keep the previous build's assets
- Recommended WEB-19 Build on HTML that already works
- Recommended WEB-20 Load everything from your own site
- Recommended WEB-21 Build repeated HTML from shared modules
- Recommended WEB-24 Audit every page in a browser before release
- Optional WEB-16 Keep pages as data
- Optional WEB-17 Write each page once for every format
- Optional WEB-18 Render at build time and serve from memory
Interface
- Recommended WEB-25 Build menus with popover
- Recommended WEB-26 Build modal dialogs with dialog
- Recommended WEB-27 Pin menus to their button with CSS
- Recommended WEB-29 Let parts fit the space they get
- Recommended WEB-30 Let the browser balance line breaks
- Recommended WEB-32 Keep room for the scrollbar
- Recommended WEB-33 Size full-height panels for phones
- Optional WEB-28 Wire buttons without click handlers
- Optional WEB-31 Define every colour once
- Optional WEB-34 Animate on scroll with CSS
- Optional WEB-35 Skip page fades unless they help
Performance
- Recommended WEB-36 Keep load, response and stability fast
- Recommended WEB-37 Measure speed in visitors' browsers
- Recommended WEB-38 Send small, modern images
- Recommended WEB-39 Load far-down images later
- Recommended WEB-40 Hint only what speeds up the first paint
- Recommended WEB-42 Cache files for a year and pages briefly
- Recommended WEB-43 Say which request headers change a response
- Recommended WEB-44 Answer repeat requests with 304
- Recommended WEB-46 Compress every text response
- Recommended WEB-47 Load fonts without moving the page
- Recommended WEB-48 Put the styles in the page
- Recommended WEB-49 Never let a script block the page
- Recommended WEB-50 Break up long tasks
- Recommended WEB-52 Fetch the next page on hover
- Recommended WEB-53 Keep the back button instant
- Recommended WEB-58 Fail the build when pages get heavier
- Recommended WEB-59 Send video that starts fast and costs little
- Optional WEB-41 Send early hints only when they help
- Optional WEB-45 Ignore tracking parameters in caches
- Optional WEB-54 Skip work for what is off screen
- Optional WEB-55 Fence off self-contained parts
- Optional WEB-56 Use shared dictionaries for big bundles
- Optional WEB-57 Report how long the server took
- Avoid WEB-51 Old HTTP/1 tricks on HTTP/2
Redirects and canonicals
- Recommended WEB-81 Keep every old address in one redirect map
- Recommended WEB-82 Send each old page to its closest new page
- Recommended WEB-83 Answer 404 or 410 when a page is gone for good
- Recommended WEB-84 Link only to final addresses
- Recommended WEB-85 Use the right redirect code
- Recommended WEB-87 Make every canonical signal agree
- Recommended WEB-88 Move a site or domain without losing links
- Recommended WEB-89 Watch for broken old links
- Recommended WEB-90 Check the links you send people to
- Optional WEB-91 Say who made each redirect
- Avoid WEB-86 Meta refresh and JavaScript redirects
Hosting and network
- Required WEB-157 Serve everything over HTTPS
- Required WEB-167 Keep the domain name yours
- Recommended WEB-159 Serve over HTTP/2 or HTTP/3
- Recommended WEB-162 Choose who may issue your certificates
- Recommended WEB-164 Host where routes are signed
- Recommended WEB-166 Be reachable over IPv6
- Optional WEB-160 Send more in the first round trip
- Optional WEB-163 Sign your DNS
- Optional WEB-15 Say in DNS if a domain is for sale
Standard addresses
- Recommended WEB-168 Serve standard files at fixed addresses
- Recommended WEB-176 List your APIs in one file
- Recommended WEB-178 Open links in your phone apps
- Recommended WEB-143 Tell people how to report a hole
- Optional WEB-169 Point password managers to your account pages
- Optional WEB-173 Publish your sign-in server settings
Privacy
- Required WEB-206 Explain what you keep and why
- Required WEB-207 Store nothing extra without a yes
- Required US-CA, US-CO law WEB-208 Treat the privacy signal as a no
- Required WEB-212 Keep only what you need and delete it on time
- Required WEB-214 Keep personal data out of addresses
- Required WEB-215 Sign a contract with every processor
- Required WEB-217 Let people see and delete their data
- Required EU law WEB-219 Load embedded videos and maps only after a click
- Recommended WEB-209 Host everything yourself for privacy
- Recommended WEB-213 Store each preference where it is needed
- Optional WEB-210 Ask before embedded content uses cookies
Errors and outages
- Recommended WEB-220 Make error pages helpful and honest
- Recommended WEB-221 Say when you'll be back
- Recommended WEB-222 Keep working when a script or service fails
- Recommended WEB-223 Hide buttons that need JavaScript until it runs
- Recommended WEB-227 Serve the last good page when the server fails
- Recommended WEB-228 Collect script errors from visitors' browsers
- Optional WEB-226 Warn before retiring an address
Offline and installed apps
- Recommended WEB-225 Let people install the site
- Recommended WEB-264 Give the installed app a fixed identity
- Recommended WEB-266 Choose a caching strategy for each kind of request
- Recommended WEB-267 Ship new service workers without trapping old ones
- Optional WEB-224 Keep working when the network drops
Related playbooks
Show the badge on your project
When your project passes every Required rule, you can show this badge on your site or in your README. It links to this checklist, so anyone can run the same checks.
<a href="https://agentwranglers.se/playbook/website/checklist"><img src="https://agentwranglers.se/badge.svg" alt="Checked against the Agent Wranglers website playbook" width="214" height="20"></a>
[](https://agentwranglers.se/playbook/website/checklist)
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/website/checklist">Agent Wranglers website playbook</a>. In code you write, add a comment next to it with the same link.