Skip to content

Commit ee57ac8

Browse files
authored
Merge pull request #179 from alphagov/update-header-footer
Use current markup for header and footer
2 parents fbec1e8 + f18a59b commit ee57ac8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- [Pull request #179: Use current markup for header and footer](https://github.com/alphagov/tech-docs-gem/pull/179)
56
- [Pull request #178: Update dependencies and fix tests](https://github.com/alphagov/tech-docs-gem/pull/178) – includes updating GOV.UK Frontend to v3.6.0.
67

78
## 2.0.11

lib/source/layouts/_footer.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<% end %>
1414

1515
<svg
16-
role="presentation"
16+
aria-hidden="true"
1717
focusable="false"
1818
class="govuk-footer__licence-logo"
1919
xmlns="http://www.w3.org/2000/svg"

lib/source/layouts/_header.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<% if config[:tech_docs][:show_govuk_logo] %>
1010
<span class="govuk-header__logotype">
1111
<svg
12-
role="presentation"
12+
aria-hidden="true"
1313
focusable="false"
1414
class="govuk-header__logotype-crown"
1515
xmlns="http://www.w3.org/2000/svg"
@@ -42,7 +42,7 @@
4242
</div>
4343
<% if config[:tech_docs][:header_links] %>
4444
<div class="govuk-header__content">
45-
<button type="button" role="button" class="govuk-header__menu-button govuk-js-header-toggle" aria-controls="navigation" aria-label="Show or hide Top Level Navigation">Menu</button>
45+
<button type="button" class="govuk-header__menu-button govuk-js-header-toggle" aria-controls="navigation" aria-label="Show or hide Top Level Navigation">Menu</button>
4646
<nav>
4747
<ul id="navigation" class="govuk-header__navigation govuk-header__navigation--end" aria-label="Top Level Navigation">
4848
<% config[:tech_docs][:header_links].each do |title, path| %>

0 commit comments

Comments
 (0)