-
Notifications
You must be signed in to change notification settings - Fork 327
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
Update links (and things that look like links) to use the new focus style #1309
Commits on May 8, 2019
-
Adding govuk-focusable-text-link mixin
This approach uses box-shadow, which has broadly good support across browser. We have found that Edge and Internet Explorer produce rendering issues. Edge 18 has quite problematic issues but this can be seen on any website using custom focus styles. Edge 18 supports 'drop-shadow()' which can work but only on elements that are `diplay: inline`, with this in mind we think the complexity is not worth the cost to users for all browsers. Edge 19+ will be using the Chromium rendering engine so this will not be an issue. Edge 17 and below, and IE 9-11 have lesser issues that we have determined will not cause a barrier. See: https://gist.github.com/nickcolley/3788eefd34e7f04391de07867a85018b for an example of how `drop-shadow()` could work. Co-authored-by: Nick Colley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f121c99 - Browse repository at this point
Copy the full SHA f121c99View commit details -
Update govuk-link-common mixin to use new govuk-focusable-text-link m…
…ixin Co-authored-by: Nick Colley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1979c10 - Browse repository at this point
Copy the full SHA 1979c10View commit details -
Update back-link component focus to avoid duplicate border
Co-authored-by: Nick Colley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09ff00c - Browse repository at this point
Copy the full SHA 09ff00cView commit details -
Update details focus styles to match updated focussed state
We can remove a lot of the custom focus styles since they were relevant to the relationship between the background and outline which are not used anymore. Co-authored-by: Nick Colley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a921fcc - Browse repository at this point
Copy the full SHA a921fccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1570997 - Browse repository at this point
Copy the full SHA 1570997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a6712 - Browse repository at this point
Copy the full SHA 52a6712View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3118967 - Browse repository at this point
Copy the full SHA 3118967View commit details -
Remove incorrectly overriden error summary focus style
When we updated the the focus styles for to have the same colour as the body text, we forgot to update the specific overrides we need when using GOV.UK Frontend with GOV.UK Template (legacy). This meant that when you focused a link in the error summary the color was red instead of black, removing this block achieves the result we want.
Configuration menu - View commit details
-
Copy full SHA for eca6ca0 - Browse repository at this point
Copy the full SHA eca6ca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a6776 - Browse repository at this point
Copy the full SHA c0a6776View commit details