[DO NOT MERGE] Suggested hover style for action link #1726
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Draft PR - conversation starter:
There was a request from Design to update a missing hover state on the action link on corona virus landing page.
Ticket: https://trello.com/c/mBN0xr04
Why?
Updating the corona virus landing page action link with a unique hover style in complete isolation is not ideal.
Users will have have a mix of hover styles even within the same page. For example, this also impacts Bread Crumbs which is also on this page.
This prompted a wider discussion, white text (while on a coloured background) + hover styles do not exists within the Component Guide and there is already an issue raised about ensuring consistent hover styles across gov.uk
As a result Design actioned a wider exploration piece to discover a colour that met AA standards and was a perceivable change within multiple contexts. The result was the solution
#DDDCDB
Draft PR to prompt Frontend discussion for new hex (or possible variation of existing hex) to be absorbed into
govuk-frontend
or the Design SystemVisual Changes
Anything Else?
There's a couple possible implementation approaches
publishing_components
add a new colour var togov-frontend
$govuk-link-hover-white-text-colour: #DDDCDB