What does this mean?

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>.

A common web design pattern is to use a named anchor to show an element via JavaScript, e.g.

<a href="#foo" onclick="$('.bar').toggle();">Click me</a>
<div class="bar">
    This is some content.
</div>

In these cases, the anchor (#foo) should point to the id of the hidden element:

<a href="#foo" onclick="$('#foo').toggle();">Click me</a>
<div id="foo">
    This is some content.
</div>

This way the semantic intent of the link is preserved, even without JavaScript. Note that doing so may require modification to your script, to prevent automatic scrolling to the named anchor.



96.8% done

How close this website is to fixing this issue.

HTML Found on page Issues
<a class="top-header-btn top-header-btn--anchor top-header-btn-highlight header-flyout" data-selector="cta-item-3" href="#flyout" itemprop="url" itemtype="https://schema.org/SiteNavigationElement" data-tealium-event="Internal Click" data-tealium-narrative="Login" itemscope="" data-flyout="flyout-3" role="button" aria-expanded="false">...</a> 4
<a href="#0" onclick="s_objectID=' (link 5)';"></a> 1
<a href="#1" onclick="s_objectID='Expandable section (link 5)';"><span class="sr-only">Expandable section</span></a> 1
<a href="#0" onclick="s_objectID=' (link 7)';"></a> 1
<a href="#1" onclick="s_objectID='Expandable section (link 2)';"><span class="sr-only">Expandable section</span></a> 1
<a href="#top" onclick="s_objectID='Back to top ^ (link 3)';">Back to top ^</a> 1
<a href="#0" onclick="s_objectID=' (link 1)';"></a> 1
<a href="#simple-choice" title="Simple choice. Choose from 3 ready-made funds -ideal if you don’t want to pick your own stocks and shares." aria-label="Simple choice. Choose from 3 ready-made funds -ideal if you don’t want to pick your own stocks and shares.">...</a> 1
<a href="#top" onclick="s_objectID='Back to top ^ (link 2)';">Back to top ^</a> 1
<a href="#1" onclick="s_objectID=' (link 8)';"></a> 1
27 distinct issues were found in the sample of 125 web pages. Only the first 10 issues are shown here.
More results from Bank of Scotland