govuk-design-system-backlog icon indicating copy to clipboard operation
govuk-design-system-backlog copied to clipboard

Navigation bar

Open joelanman opened this issue 7 years ago • 21 comments

Previous discussion on tabbed navigation where it was decided styling as tabs would confuse users.

Also known as: menu

What

Let users navigate between separate sections of a service, and know which section they are currently on.

Why

Navigation bars are used on these government services:

Anything else

joelanman avatar Aug 07 '18 14:08 joelanman

Proposed design from the tabbed navigation thread

image

joelanman avatar Aug 07 '18 14:08 joelanman

One question would be what happens on a small screen? The Design System hides the navigation, and shows a Menu button which reveals the navigation. Would this work with a hierarchy - where you might have separate global navigation and a sub navigation bars?

image

joelanman avatar Aug 07 '18 14:08 joelanman

Here's some background from our research team on DfE Teaching Jobs…

One of the aims of Teaching Jobs is for hiring staff to post job listings onto the service, and in order to be able to achieve this, they must first be able to successfully sign in. During testing, we asked hiring staff to post a listing, however 7 hiring staff were unable to find a call to action to first sign into the service.

Users stated:

  • “I can’t see a log in.” - Head of Communications
  • “To be honest I can’t see what I’d do from this page….I can’t see anything there that tells me how to post.” user misses list a teaching job link at the top-Business Manager
  • “I don’t see the sign in.” -Department head & School Business Manager
  • “It’s not obvious how to sign in for the first time.” - Head of Procurement
  • “I’m not sure, where is the log in?” can’t find school sign in, even when directed to top of page - Curriculum Resource Manager

After prompting users to the top of the page or to the wording of the button, users stated:

  • “That’s not a button, it’s a header, it shouldn't be in the same banner….I wouldn't have never seen that. I thought it was a title, it doesn't look like a hyperlink or button.” - Head of Procurement
  • “[It] looks like a heading rather than a call to action.” - Head of Communications
  • “...it just looked like part of the title so I didn’t spot it first time. It doesn’t look like it’s an active link so I wouldn’t have thought to try to click it.” -Business Manager
  • “That’s a bit small, I missed that!” - Department head & School Business Manager

Conclusion

Based on the insights that we have gathered from hiring staff in testing, it is clear that hiring staff’s ability to navigate to log in is a current pain point. Due to the listed reasons why hiring staff struggled to find the navigation link as currently set out, we recommend navigation that is below the gov.uk header, more clearly a link, and larger/more visible. Having looked at comparable services, such as Civil Service Jobs who have also chosen to move their sub navigation to below the gov.uk header, we feel that testing similar formats may improve the user experience when signing in and navigating through the service.

…and here's a grab of the header referred to above — with a verb-driven sign-in link, using the proposition links styles from the GOV UK Template:

screen shot 2018-08-08 at 12 45 43

gazaston avatar Aug 08 '18 11:08 gazaston

Thanks for sharing this feedback @gazaston - it's really useful for us to know when things aren't performing as well as they should.

Would you be able to also share the navigation design that you ended up using?

timpaul avatar Aug 13 '18 15:08 timpaul

Example from GOV.UK Notify:

image

timpaul avatar Aug 13 '18 16:08 timpaul

Example from Home Office Design System:

image

timpaul avatar Aug 13 '18 16:08 timpaul

Example from HMCTS Design System:

image

Mobile view:

image

timpaul avatar Aug 13 '18 16:08 timpaul

@timpaul Sure. Here's what we're planning to test. I'm not 100% happy with the detail it as it feels like it could be more elegant, but it should be enough to validate the pattern:

after - unauthorised

after - authorised

gazaston avatar Aug 14 '18 08:08 gazaston

Here's another example, from the DfE Sign in service:

screen shot 2018-08-14 at 09 05 25

gazaston avatar Aug 14 '18 08:08 gazaston

Here's another example from the GOV.UK Registers admin tool for updating registers

screen shot 2018-08-22 at 11 39 04

dankmitchell avatar Aug 22 '18 10:08 dankmitchell

Moving this straight to the 'To do' column on the backlog, as it's required by the Navigation pattern.

timpaul avatar Feb 04 '19 12:02 timpaul

We've got a pattern like this in OPSS.

Example: screenshot 2019-03-04 at 16 26 38

Something I need to decide on is how to deal with small viewport widths. Currently our account and sign out links go in a menu - but potentially the site sections should too.

edwardhorsford avatar Mar 04 '19 16:03 edwardhorsford

In Publish teacher training courses we tried tabbed navigation and then a navigation bar.

We found in research that users consistently missed both, missing out on significant features they needed to use.

We moved from tabs to a navigation bar to make the navigation more obvious but this didn’t do the job.

We then inlined all the content and used back links and breadcrumbs to move around – we’d already seen users interacting with these navigation elements.

1. Tabs 2. Navigation 3. Final version

fofr avatar Mar 08 '19 15:03 fofr

My service (internal casework tool) is moving towards two levels of navigation - primary nav that sits in the header, and secondary navigation that applies on a per-section basis.

I'm about to test this form of primary nav, stolen from HMCTS / BEIS: Screenshot 2019-03-21 at 10 59 21

Changes from existing pattern:

  • Does not rely on colour alone to indicate the active site category.
  • Left align primary nav links with obvious active indicator.
  • Right align account type links

nb: On mobile we'll likely collapse all of the links in to a menu like the existing pattern.

The advantage of having the links in the header is we can have a clear distinction between main site categories and sub categories. If you've got secondary nav, then the primary needs to be visually distinct.

With secondary nav

Screenshot 2019-03-21 at 11 28 26

With case / actions bar

Screenshot 2019-03-21 at 11 30 50

Note there's no bottom blue border - when combined with secondary nav / an identity bar, the blue border gets in the way / looks out of place.

We'll test this with our users and see how it goes.


One other thing: I think it actually looks better for us to use the productName option rather than serviceName: Screenshot 2019-03-21 at 11 33 32

edwardhorsford avatar Mar 21 '19 11:03 edwardhorsford

Our service – 'Help for early years providers' uses a mobile header 'Menu'. During research sessions, users have missed the menu button on the header and used breadcrumbs to navigate around.

Has anyone tried putting a white background to the 'menu' text and if so, did it work?

There are couple of options that i wanted to try, but we are waiting for the final feedback from ur to proceed.

Screen Shot 2021-01-28 at 5 30 13 PM

rinto-c avatar Jan 28 '21 17:01 rinto-c

@rinto-c I also failed to see 'Menu' in the header of the Coronavirus daily update (see image below). I've been viewing the site each day (sometime on mobile, sometimes on laptop) and only noticed the menu within the last two days. image

It sounds like something that needs an experiment, if it hasn't already been done.

terrysimpson99 avatar Jan 29 '21 09:01 terrysimpson99

We tried various versions of menu on a service that I am working on in DfE. Initial assumption was that if we make the menu more obvious and within reach to the user, they will find it easier to navigate to other areas of the website.

Our assumptions were invalidated when users were freely moving between pages using breadcrumbs and browser back button on mobile.

Therefore we are reverting the design back to the original design from the design system as we have not found significant value in developing a custom navigation.

menu-variations

rinto-c avatar Mar 11 '21 15:03 rinto-c

We’ve chosen to prioritise ‘Navigation’ as one of our Upcoming components and patterns.

If you’d like to help, join the GitHub discussion page for Navigation. We’ve created it to make it easier for the community to discuss issues and options.

calvin-lau-sig7 avatar Oct 14 '22 13:10 calvin-lau-sig7

Hi folks, for anyone who missed or wants a recap of our Navigation: help us define our next component kick off workshop, on 18 April 2024, we've posted a summary to the discussion thread Navigation - related research and resources #3661

CharlotteDowns avatar Mar 26 '24 15:03 CharlotteDowns