Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

resources

Rules: 6

resources/a11y-overlay

The page loads an accessibility overlay script

resources/a11y-overlay/present · warning · score 5.2 · page

Overlay widgets claim to fix accessibility automatically, but they do not repair the underlying markup and often interfere with screen readers and keyboard users. They can also expose the site to accessibility complaints. The check matches known overlay vendors’ domains.

Reported as

loads an accessibility overlay, which does not fix the page and gets in the way of assistive tools

Fix

Remove the accessibility overlay script and fix accessibility issues directly.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • resources

Expects

{
  "not": {
    "contains": {
      "properties": {
        "url": {
          "pattern": "^https?://([^/]+\\.)?(acsbapp\\.com|acsbap\\.com|accessibe\\.com|userway\\.org|audioeye\\.com|equalweb\\.com|nagich\\.co\\.il|maxaccess\\.io|allyable\\.com|accessiblyapp\\.com|user1st\\.info|purplelens\\.eu)(:|/|$)"
        }
      }
    }
  }
}

resources/cache-control

A fingerprinted asset is cached for less than a year

resources/cache-control/weak · warning · score 4.8 · site

A file whose name carries a content hash, or that is marked immutable, never goes stale, so a shorter cache lifetime only makes returning visitors download it again. Also reported when the Cache-Control header is malformed.

Fix

Send Cache-Control: public, max-age=31536000, immutable with every fingerprinted asset.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • resources

resources/compression

A text asset is sent uncompressed

resources/compression/missing · warning · score 4.4 · site

Scripts, style sheets, SVG and other text over 1 KB sent without br, gzip or zstd cost visitors more bytes and time, most on slow mobile networks. Only successful responses are judged.

Fix

Serve text assets br, zstd or gzip to every client whose Accept-Encoding offers one.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • resources

resources/integrity

A cross-origin script or style sheet has no integrity hash

resources/integrity/missing · warning · score 6.5 · site

If the third party’s server or CDN is compromised, altered code runs on the page with nothing to stop it. A Subresource Integrity hash makes the browser refuse a changed file.

Fix

Add an integrity attribute (sha384 or sha256) and crossorigin=anonymous to each cross-origin script and style sheet.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • resources

resources/protocol

An https page loads a resource over plain http

resources/protocol/insecure · error · score 9.4 · site

Browsers block or warn about mixed content, so the resource may not load, and anyone on the network can read or alter what does. Applies to https pages that load http: URLs.

Fix

Load the resource over https instead of http.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • resources

resources/resource

A page loads a resource that fails or answers with an error

resources/resource/unreachable · error · score 7.6–9.0 · site

Images, scripts or style sheets that do not load leave visitors with broken layouts or missing features. Counted when a resource answers outside 2xx or not at all; feed enclosures are left out.

Fix

Fix the resource server so it answers 2xx, or remove the resource from the page.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • resources