Reliability audit rules: broken scripts, fonts and forms
Audit rules for what fails to load: scripts, stylesheets and fonts that return errors, broken links, and forms whose fields or actions lose submissions.
Reliability rules check that what a page asks the browser to load actually loads, that a form’s submission reaches a handler, and that the links on a page lead somewhere. They read the scripts, stylesheets and fonts the crawl already fetched, so a bundle that returns 404 after a deploy shows up even when the HTML that references it is a 200. The category sits in the Performance score group, since a page whose main script never loads is slow to become usable, and the rules need no browser render.
Run only these rules
squirrel audit https://example.com --rule-include reliabilityReliability and Performance make up the Performance score group. Run both with --rule-include perf,reliability.
Where to start
These carry the highest severity and weight in the category.
- Broken internal links: 404s inside your own site: An internal link to a page that returns 404 or 500 is a dead end you control. squirrel cross-references every internal link against the crawl.
- Broken scripts, stylesheets and fonts: files that do not load: A page whose script or stylesheet returns 404 or 500 looks fine to a crawler but renders unstyled or never runs its interactive parts. squirrel checks every script, stylesheet and font the crawl fetched.
- Forms that lose submissions: unnamed fields and dead actions: A form can look perfect and still drop every submission. squirrel checks that each field has a name the browser sends, and that each form action answers.
- Broken external links: link rot on pages you cannot fix: External links die without warning when the other site changes. squirrel checks each one and separates dead links from unverifiable ones.
- Broken anchor links: #fragments that point at nothing: A link to #pricing whose target id is gone still loads, and the reader lands at the top of the page. squirrel checks every in-page anchor against the element it names.
Rules
| Rule | What it flags | Severity | Scope |
|---|---|---|---|
| Broken anchor links: #fragments that point at nothing | A link to #pricing whose target id is gone still loads, and the reader lands at the top of the page. squirrel checks every in-page anchor against the element it names. | warning | Site-wide |
| Broken external links: link rot on pages you cannot fix | External links die without warning when the other site changes. squirrel checks each one and separates dead links from unverifiable ones. | warning | Site-wide |
| Broken internal links: 404s inside your own site | An internal link to a page that returns 404 or 500 is a dead end you control. squirrel cross-references every internal link against the crawl. | error | Site-wide |
| Broken scripts, stylesheets and fonts: files that do not load | A page whose script or stylesheet returns 404 or 500 looks fine to a crawler but renders unstyled or never runs its interactive parts. squirrel checks every script, stylesheet and font the crawl fetched. | error | Site-wide |
| Forms that lose submissions: unnamed fields and dead actions | A form can look perfect and still drop every submission. squirrel checks that each field has a name the browser sends, and that each form action answers. | error | Site-wide |
Key terms
- Broken link: A link whose target answers with an error, does not resolve, or is malformed.
- Fragment link: A link to an id within a page (#section); it is broken when no element on the target page carries that id.
- HTTP status code: The three-digit code a server returns with every response; 2xx success, 3xx redirect, 4xx client error, 5xx server error.
Related categories
Performance covers how fast the same resources load. Images checks image sources, and Links checks link targets that return errors.
Learn more
- Fix SEO issues with AI, the coding agent workflow for working through a report
- Website audit tool
- Sample report, with the Reliability section on a real site
The three broken link rules keep their links/ ids, so their pages live under Links and links/* selects them. They are Reliability rules in every report. A pattern matches on the id, not the category: to turn off everything Reliability scores, list them next to reliability/*.
Disable all Reliability rules
[rules]
disable = ["reliability/*", "links/broken-links", "links/broken-external-links", "links/broken-anchors"]