-
Notifications
You must be signed in to change notification settings - Fork 324
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
Release v3.8.0 #1886
Merged
Merged
Release v3.8.0 #1886
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes to
|
36degrees
approved these changes
Jul 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
3.8.0 (Feature release)
New features
The secondary text colour is now darker
$govuk-secondary-text-colour
andgovuk-colour("dark-grey")
are now darker so users can more clearly read hint text that uses the colour.The colour now has a contrast ratio of 7:1 against a white background, and helps hint text meet the WCAG 2.1 (AAA) accessibility standard.
This was added in pull request #1827: Make dark grey darker.
Error styling for field border thickness is now the same with and without an error
The error styling for the:
This means it’s easier for users to tell the difference between a field with an error and a field that's focused.
When an error message is about several fields, make sure you're clear which field has the error. You must not rely on users being able to tell which field has the error styling.
This was added in pull request #1870: Reduce border width of form inputs in the error state.
Set spellcheck with a new option
You can now turn spellcheck on or off in the input, textarea and character count components using the new
spellcheck
option instead of theattributes
option.For example:
This was added in pull requests:
Deprecated features
$govuk-border-width-form-element-error
From GOV.UK Frontend v4.0.0, you'll no longer be able to reference the
$govuk-border-width-form-element-error
Sass setting.Change any references to
$govuk-border-width-form-element-error
in your Sass code so they reference$govuk-border-width-form-element
instead.This was changed in pull request #1870: Reduce border width of form inputs in the error state.
Fixes
We’ve made fixes to GOV.UK Frontend in the following pull requests: