Avoid linking to anchors that do not exist

National Disability Authority

From: WCAG 2.0 A 2.4.1

Do not link to an anchor on the page that does not exist. For example: linking to #content without a valid destination such as <body id="content"></body>.