11. Local link destination does not exist

1.3.1

Local link incorrect example

Description: A local link (anchor link) occurs but the destination does not exist.

Context: All references need to be linked properly for a page to allow assistive technology to navigate properly between items.

<a href="#toplink" class="backup tipsy-tooltip" title="scroll up">
    <span class="fa fa-chevron-up"></span>
</a>

How to fix it: When using local links they must refer to an existing element on the page.

<a href="#toplink" class="backup tipsy-tooltip" title="scroll up">
    <span class="fa fa-chevron-up"></span>
</a>
<div id="topLink">Example location</div>