Ramonda

fragment-link-to-nowhere

This fails the run. Where it is wrong about your code, // ramonda-check-ignore <reason> on the line says so, and the reason is printed on every run.

Reported when an href="#name" points at an id no element in the project carries.

A fragment link is answered by the browser rather than by a server, so a broken one fails with none of the usual signals: no 404, no network error, nothing in the console. The page just does not move, and the reader is given no reason.

Give the target its id, or correct the link. Where the target is built rather than written — a heading id generated from markdown, say — write the id out in the markup instead, or this cannot see it.

The people this costs most are the ones least likely to be in the room when it is tested: a skip link is the first thing a keyboard reader uses on a page, and the one nobody testing with a mouse ever presses.

Next