Skip to content
Documentation
Rule catalogue

icons.manifest-mismatch

The manifest and the <head> must not disagree about the same icon

infoper pageguideline

Why it matters

Two files declare the icons and nothing compares them. Only flagged where it is genuinely a contradiction — the same file described with two different sizes, or icons that exist only in the manifest, which is not where a browser tab looks. Two lists that simply differ are the normal case, and goflag does not treat them as a defect.

What the finding looks like

The message goflag prints, with example values substituted.

info icons.manifest-mismatch The manifest and the <head> describe the same icon differently: /icon.png is 32x32 in the <head> and 192x192 in the manifest.

How to fix it

This rule ships no snippet, because the remedy is a judgement rather than a line of code: the finding tells you what is out of range, and what to put there is yours to decide.

Says who?

This rule is guideline, and it cites the documents below. Nothing here is goflag’s opinion of what a good page looks like — if you disagree with a finding, this is what you are disagreeing with.