govuk-one-login / service-header

A header for services using GOV.UK One Login
https://govuk-one-login.github.io/service-header/
6 stars 4 forks source link

Options for collapsed service navigation when there is only one nav link #16

Closed benjamin-mortimer closed 10 months ago

benjamin-mortimer commented 1 year ago

One service got in touch with us about what to do if their internal navigation contains only one link.

The header will still work in this case and it doesn't produce any accessibility issues, but there may some strangeness in the internal navigation menu's appearance and function on smaller screens (eg mobile).

The menu collapses on smaller screens, and will then open to reveal only a single item.

What should we do about this? It seems acceptable bahviour for the time being, but in a future iteration we may wish to do something like:

danacotoran commented 10 months ago

This should have been resolved in #28 so we can close this issue now @benjamin-mortimer!