Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide guidance around using the header for non GOV.UK contexts #1174

Open
36degrees opened this issue Feb 25, 2020 · 1 comment
Open

Provide guidance around using the header for non GOV.UK contexts #1174

36degrees opened this issue Feb 25, 2020 · 1 comment
Labels

Comments

@36degrees
Copy link
Contributor

36degrees commented Feb 25, 2020

What

Add guidance to the header component that explains how and/or when to use the header in a non GOV.UK context.

As part of this, we need to decide:

  • whether it's appropriate for non GOV.UK websites or services to use the 'black bar with blue underline'
  • how re-usable the header component is outside of GOV.UK

It may make sense to instead encourage users to build their own header component.

Once we've worked out what we want users to do, we should add guidance that helps them to do the right thing.

Why

At the minute, there's no easy way to customise the header for use in non-GOV.UK contexts (e.g. by removing the logo)

We sometimes see users customising the HTML or CSS in unexpected ways in order to adapt it to be used in ways it was never really intended.

Depends on…

Related

@36degrees
Copy link
Contributor Author

The CAA 'drone registration service' provides an interesting example of strange things that can happen when users override the header in unexpected ways. They're overriding the styles in the header using a separate stylesheet.

register-drones caa co uk_individual

If for whatever reason their stylesheet fails to load (e.g. network interruption), the service ends up looking like this:

register-drones caa co uk_individual (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants