Skip to content

Mobile layout audit rules

View as Markdown

Sonjoo groups 13 checks under Mobile layout (mobile). Select this category with sonjoo audit <url> --categories mobile, or pass the category ID in an HTTP audit request.

This category has weight 2 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

Flag small declared text sizes and tight line spacing as static readability signals.

Inputs. HTML must be available.

Evidence. Small-font and line-height issue counts or static scope note.

Base scoring weight 15 when measured.

Flag fixed-width layout elements that may overflow a small viewport.

Inputs. HTML must be available.

Evidence. Potentially overflowing element and literal source width.

Base scoring weight 15 when measured.

Report full-screen fixed elements or popup signals for review.

Inputs. HTML must be available.

Evidence. Matched overlay style or identifier.

Base scoring weight 10 when measured.

Flag a fixed numeric viewport width in place of device-width.

Inputs. HTML must be available.

Evidence. Parsed viewport width.

Base scoring weight 10 when measured.

Detect conflicting or repeated viewport metadata tags.

Inputs. HTML must be available.

Evidence. Count and original viewport declarations.

Base scoring weight 8 when measured.

Report coordinate-based image map elements as a review signal for small screens.

Inputs. HTML must be available.

Evidence. Counts of maps and areas.

Base scoring weight 8 when measured.

Report missing width, non-unit initial scale, or a zoom-out limit in declared viewport metadata.

Inputs. HTML must be available.

Evidence. Viewport content and missing or restrictive directive.

Base scoring weight 10 when measured.

Compare desktop and mobile render evidence for primary body text.

Inputs. Successful desktop and mobile Chromium documents.

Evidence. Paired values for primary body text.

Base scoring weight 10 when measured. Requires Chromium rendering.

Compare desktop and mobile render evidence for title and description.

Inputs. Successful desktop and mobile Chromium documents.

Evidence. Paired values for title and description.

Base scoring weight 8 when measured. Requires Chromium rendering.

Compare desktop and mobile render evidence for canonical annotation.

Inputs. Successful desktop and mobile Chromium documents.

Evidence. Paired values for canonical annotation.

Base scoring weight 8 when measured. Requires Chromium rendering.

Compare desktop and mobile render evidence for JSON-LD blocks.

Inputs. Successful desktop and mobile Chromium documents.

Evidence. Paired values for JSON-LD blocks.

Base scoring weight 8 when measured. Requires Chromium rendering.

Compare desktop and mobile render evidence for discoverable anchors.

Inputs. Successful desktop and mobile Chromium documents.

Evidence. Paired values for discoverable anchors.

Base scoring weight 6 when measured. Requires Chromium rendering.

Verify that a declared narrow-screen alternate is reachable and names the desktop URL as its canonical.

Inputs. The source declares a narrow-screen alternate and Sonjoo can reach the same-origin target.

Evidence. Alternate URL, HTTP status on failure, or canonical mismatch.

Advisory. Excluded from scoring.