We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 556b4ac + cdf1a05 commit da7be2bCopy full SHA for da7be2b
lib/source/layouts/_header.erb
@@ -40,7 +40,7 @@
40
<ul id="navigation" class="govuk-header__navigation-list">
41
<% config[:tech_docs][:header_links].each do |title, path| %>
42
<li class="govuk-header__navigation-item<% if active_page(path) %> govuk-header__navigation-item--active<% end %>">
43
- <a class="govuk-header__link" href="<%= get_path_to_resource config, path, current_page %>"><%= title %></a>
+ <a class="govuk-header__link" href="<%= get_path_to_resource config, path, current_page %>"<% if active_page(path) %> aria-current="page"<% end %>><%= title %></a>
44
</li>
45
<% end %>
46
</ul>
0 commit comments