Images audit rules
Sonjoo groups 15 checks under Images (images). Select this category with sonjoo audit <url> --categories images, or pass the category ID in an HTTP audit request.
This category has weight 8 in the overall audit score when it has scored results. Sonjoo normalizes category weights over the categories with scored results.
All audit categories · Rule settings and interpretation
images-alt-present
Section titled “images-alt-present”Report an image missing its alternative-text attribute; an explicit empty alternative is valid for decorative imagery.
Inputs. A document collected for audit.
Evidence. Image count and affected source.
Base scoring weight 20 when measured.
images-alt-quality
Section titled “images-alt-quality”Flag short, overlong, generic, filename-like or repetitious alternatives for review, preserving explicit decorative alt.
Inputs. A document collected for audit.
Evidence. Quality issue count and alternative text.
Base scoring weight 15 when measured.
images-dimensions
Section titled “images-dimensions”Report missing or invalid intrinsic width or height markup, which can reserve space before media loads.
Inputs. A document collected for audit.
Evidence. Missing width and height counts.
Base scoring weight 15 when measured.
images-lazy-loading
Section titled “images-lazy-loading”Flag eager images after the first three in document order as likely deferred-loading candidates.
Inputs. A document collected for audit.
Evidence. Candidate count and affected source.
Base scoring weight 10 when measured.
images-modern-format
Section titled “images-modern-format”Report recognizable legacy image formats as possible candidates for modern-format delivery.
Inputs. A document collected for audit.
Evidence. Recognized format tally.
Base scoring weight 10 when measured.
images-size
Section titled “images-size”Flag suspicious image dimensions or origin-filename signals for review, with no claim to measured bytes.
Inputs. A document collected for audit.
Evidence. Flagged source and stated heuristic.
Base scoring weight 10 when measured.
images-responsive
Section titled “images-responsive”Flag larger or dimension-unknown images lacking a per-element responsive source declaration.
Inputs. A document collected for audit.
Evidence. Source-set counts and affected image references.
Base scoring weight 10 when measured.
images-broken
Section titled “images-broken”Probe sampled image targets and detect definite 404/410 failures; a temporarily unavailable probe cannot establish availability.
Inputs. Sonjoo can collect an HTTP response for the referenced image.
Evidence. Verified count, failed source/status and unavailable count.
Base scoring weight 15 when measured.
images-figure-captions
Section titled “images-figure-captions”Suggest visible captions for image figures. An empty caption provides no description, and figures for code or other non-image content are outside scope.
Inputs. A document collected for audit.
Evidence. Image-figure and missing-caption counts.
Base scoring weight 5 when measured.
images-filename-quality
Section titled “images-filename-quality”Flag standard placeholder, camera-generated and especially short filename stems for review.
Inputs. A document collected for audit.
Evidence. Filename and affected image count.
Base scoring weight 5 when measured.
images-inline-svg-size
Section titled “images-inline-svg-size”Identify inline SVG payloads above the local per-element HTML byte budget.
Inputs. A document collected for audit.
Evidence. Oversized SVG and checked element counts.
Base scoring weight 5 when measured.
images-picture-element
Section titled “images-picture-element”Require a direct image fallback in each picture and recommend a candidate source for meaningful picture markup.
Inputs. A document collected for audit.
Evidence. Fallback and source counts.
Base scoring weight 10 when measured.
images-alt-length
Section titled “images-alt-length”Flag unusually long alternatives using the documented Sonjoo thresholds. Do not count an empty decorative alternative.
Inputs. A document collected for audit.
Evidence. Alternative length and severity.
Base scoring weight 6 when measured.
images-background-seo
Section titled “images-background-seo”Count inline URL-based background declarations as a discoverability signal.
Inputs. A document collected for audit.
Evidence. Inline background and important-container counts.
Base scoring weight 5 when measured.
images-oversized-delivery
Section titled “images-oversized-delivery”Estimate avoidable payload when intrinsic image area exceeds the area needed at twice the displayed density.
Inputs. Chromium records displayed image dimensions and the production network path observes transfer size.
Evidence. Rendered and natural dimensions, byte estimate and affected URL.
Advisory. Excluded from scoring. Requires Chromium rendering.
