Skip to content

Commit

Permalink
Merge pull request #2419 from alphagov/move-skip
Browse files Browse the repository at this point in the history
Move skip link to after cookie banner
  • Loading branch information
maxgds authored Feb 16, 2021
2 parents 492ec0c + 66455fb commit 81fb66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/govuk_template.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

<%= yield :body_start %>

<%= render "govuk_publishing_components/components/cookie_banner" %>

<div id="skiplink-container">
<div>
<a href="#content" class="skiplink govuk-link"><%= content_for?(:skip_link_message) ? yield(:skip_link_message) : "Skip to main content" %></a>
</div>
</div>

<%= render "govuk_publishing_components/components/cookie_banner" %>

<% unless @omit_header %>
<header role="banner" id="global-header" class="<%= yield(:header_class) %>">
<div class="header-wrapper">
Expand Down

0 comments on commit 81fb66a

Please sign in to comment.