icons.unreachable
A declared icon has to answer with an image
warningper pagevendor-spec
Why it matters
An icon that 404s is worse than one never declared: the client asks, gets nothing, and has already skipped the /favicon.ico it would otherwise have fallen back to. Declaring it is what took the fallback away.
What the finding looks like
The message goflag prints, with example values substituted.
warn icons.unreachable Declared icon does not serve an image: icon → /icon-32.png (HTTP 404).
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 vendor-spec, 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.
- HTML Living Standard — link types
WHATWG · normative
- MDN — rel attribute values
MDN / Mozilla · guideline