Skip to content

Commit

Permalink
Merge pull request #3076 from alphagov/2365_Top-element-added-to-rece…
Browse files Browse the repository at this point in the history
…ive-focus

Add element with id "Top" to receive focus from "Top of page" links
  • Loading branch information
davidtrussler authored Feb 6, 2024
2 parents fb0eeae + 9056f84 commit e7651b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<%= yield :header %>

<main role="main" id="content" class="<%= @content_item.schema_name.dasherize %>" lang="<%= I18n.locale %>">
<span id="Top"></span>
<%= yield :main %>
</main>
</div>
Expand Down

0 comments on commit e7651b3

Please sign in to comment.