Skip to content

Commit

Permalink
Merge pull request #4342 from alphagov/main-nav-aria-label
Browse files Browse the repository at this point in the history
Add aria label to main nav
  • Loading branch information
AshGDS authored Oct 25, 2024
2 parents 1a660fb + a57b1e1 commit 599aac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/landing_page/blocks/_main_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p class="app-b-main-nav__heading-p govuk-heading-s"><%= link_to block.title, block.title_link, class: "govuk-link govuk-link--no-underline govuk-link--no-visited-state app-b-main-nav__heading-link" %></p>
<button class="app-b-main-nav__button app-b-main-nav__button--no-js govuk-link govuk-link--no-underline" aria-expanded="false" aria-controls="app-b-main-nav__nav" type="button">Menu<span class="app-b-main-nav__icon" aria-hidden="true"></span></button>

<nav id="app-b-main-nav__nav">
<nav id="app-b-main-nav__nav" aria-label="Secondary">
<ul class="app-b-main-nav__ul">
<% contents_list(request.path, block.links).each do |link| %>
<%
Expand Down

0 comments on commit 599aac6

Please sign in to comment.