Skip to content

Commit a53ea1f

Browse files
committed
moves skip link outside of header for consistency with nhsuk
1 parent 6f7b1e2 commit a53ea1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DigitalLearningSolutions.Web/Views/Shared/_Layout.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
{
6666
@await Html.PartialAsync("~/Views/Shared/_GoogleTagManagerBodyTagJs.cshtml")
6767
}
68+
<script>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
69+
<a class="nhsuk-skip-link" href="#maincontent">Skip to main content</a>
6870
<div id="pagewrapper">
6971
<header class="nhsuk-header nhsuk-header--organisation nhsuk-header--white" role="banner">
70-
<script>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
7172
<partial name="_CookieConsentPartial" />
72-
<a class="nhsuk-skip-link" href="#maincontent">Skip to main content</a>
7373
@if (Configuration["ShowAlertBanner"] == "True")
7474
{
7575
<div class="dls-alert-banner no-print">

0 commit comments

Comments
 (0)