alphagov / govuk-design-system

One place for service teams to find styles, components and patterns for designing government services.
https://www.gov.uk/design-system
MIT License
499 stars 231 forks source link

Finalise design, spacing and function (week 1 / 2) #3873

Closed CharlotteDowns closed 2 months ago

CharlotteDowns commented 3 months ago

What

Interogate the design in detail and make any final adjustments

Why

To refine the design of the components to deliver the best thing we can at this point in time based on what we know.

Done when

CharlotteDowns commented 3 months ago

Design suggestions from the working group (still ongoing)

CharlotteDowns commented 3 months ago

Design experiments based on working group feedback

Trialling a 20% and 50% tint of the grey to improve readability of the navigation links

A screenshot of a 50% lighter grey bar using #f9f9f8

The grey service bar is 50% lighter

A screenshot of a 20% lighter grey bar using #f5f5f4

The grey service bar is 20% lighter

Restyling the active tab to increase differentiation between other nav items

A screenshot of the active nav tab styled as black with a black border bottom

Active navigation link is black with black underline

Thoughts: This example could be confusing when it's not the middle navigation item selected. For pages with sub navigation we want the main navigation tabs to be selectable. We've made a development fix to support both options, we now support non-link navigation items to accept aria-current roles (to allow for the 'current' page to not be a link).

Making the navigation links bold

A screenshot of the navigation items styled as bold

Screenshot 2024-07-03 at 09 40 19

Thoughts: We loose the visual hierarchy between the service name and the navigation links that follow them.

selfthinker commented 3 months ago

Regarding restyling the active tab to increase differentiation between other nav items, when the active item as a link and a non-link are both black, there won't be any differentiation anymore between being a link and not being a link.

CharlotteDowns commented 2 months ago

I've started building a table of screenshots of what our current version of the Navigation contribution would look like across services, using the x-gov.uk list of services as a starting point.

Here is the document, Navigation in service examples

CharlotteDowns commented 2 months ago

I have written a proposal for the actions I think we can take in order to build confidence with the working group.