Skip to content

Commit

Permalink
Document in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Jul 21, 2020
1 parent e5e2b5b commit 891552c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,34 @@

We darkened `govuk-colour("dark-grey")` to improve the readability of hint text. It now has a contrast ratio of 7:1 and helps hint text meet the WCAG 2.1 (AAA) accessibility standard.

#### Updated error styling for text input, select, textarea and file upload components

The error styling for the text input, select and textarea components no longer makes the border thicker.

The error styling for the file upload component no longer includes a border around the file upload input.

We're making these changes to ensure that the focus state is always perceivable.

When an error message relates to multiple fields, ensure you are explicit about which field has the error. You must not rely on users being able to perceive which field has the error styling.

([PR #1870](https://github.com/alphagov/govuk-frontend/pull/1870))

#### Add spellcheck parameter to input and textarea components

Optional parameter added to the input and textarea components to enable or disable the spellcheck attribute

([PR #1859](https://github.com/alphagov/govuk-frontend/pull/1859))

### Deprecated features

#### The `$govuk-border-width-form-element-error` setting

The `$govuk-border-width-form-element-error` setting has been deprecated, and will be removed in GOV.UK Frontend v4.0.

Update any references to `$govuk-border-width-form-element-error` in your application's styles to reference `$govuk-border-width-form-element` instead.

([PR #1870](https://github.com/alphagov/govuk-frontend/pull/1870))

### Fixes

We’ve made fixes to GOV.UK Frontend in the following pull requests:
Expand Down

0 comments on commit 891552c

Please sign in to comment.