Skip to content

Commit

Permalink
IDVA6-1352 - updating navigation aria labels and vh text
Browse files Browse the repository at this point in the history
  • Loading branch information
bwallace-ch committed Sep 26, 2024
1 parent a4e8f2a commit 3d363c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions locales/en/ch-node-utils-navbar.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mainNavbar": "The main navigation bar",
"clickToExpandOrCollapse": "Click to expand or collapse",
"mainNavbar": "Menu",
"clickToExpandOrCollapse": "Select to show or hide",
"signInOrRegister": "Sign in / Register",
"yourCompanies": "Your companies",
"authorisedAgent": "Authorised agent",
Expand Down
4 changes: 2 additions & 2 deletions templates/navbar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ It receives:
#}
{% macro addNavbar(signInHref, menuItems, userDisplayText, lang) %}
<div class="js-toggle-nav" id="global-nav">
<nav role="navigation" class="content" aria-label="{{ lang.mainNavbar or 'The main navigation bar' }}">
<nav role="navigation" class="content" aria-label="{{ lang.mainNavbar }}">
{% if userDisplayText %}
<a href="#navigation" class="js-header-toggle menu">{{ userDisplayText }}
<span class="govuk-visually-hidden">{{ lang.clickToExpandOrCollapse or 'Click to expand or collapse' }}</span>
<span class="govuk-visually-hidden">{{ lang.clickToExpandOrCollapse }}</span>
</a>
{% else %}
<a id="user-signin-mobile" href="{{ signInHref }}" class="sign-in govuk-link">{{ lang.signInOrRegister or 'Sign in / Register' }}</a>
Expand Down

0 comments on commit 3d363c1

Please sign in to comment.