Skip to content

Commit 0801b62

Browse files
authored
Merge pull request #4896 from alphagov/release-5.3.0
Release v5.3.0
2 parents 8dae1da + 05bea72 commit 0801b62

12 files changed

+36
-24
lines changed

CHANGELOG.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,34 @@ For advice on how to use these release notes see [our guidance on staying up to
44

55
## Unreleased
66

7+
## GOV.UK Frontend v5.3.0 (Feature release)
8+
79
### New features
810

9-
#### Use the Passwords input component to help users accessibly enter passwords
11+
#### Use the Password input component to help users accessibly enter passwords
12+
13+
The [Password input component](https://design-system.service.gov.uk/components/password-input/) allows users to choose:
1014

11-
The [Password input component](https://design-system.service.gov.uk/components/password-input/) allows users to toggle the visibility of passwords and enter their passwords in plain text if they choose to do so.
15+
- whether their passwords are visible or not
16+
- to enter their passwords in plain text
1217

1318
This helps users use longer and more complex passwords without needing to remember what they've already typed.
1419

1520
This change was introduced in [pull request #4442: Create password input component](https://github.com/alphagov/govuk-frontend/pull/4442). Thanks to [@andysellick](https://github.com/andysellick) for the original contribution.
1621

1722
### Recommended changes
1823

19-
#### Update the HTML for the character count
20-
21-
We've updated the HTML for the character count.
24+
#### Update the HTML for the Character count component
2225

23-
The component wrapper `data-module="govuk-character-count"` and its form group `class="govuk-form-group"` are now combined as the same `<div>`. The hint text used as the count message is now placed directly after the `<textarea>`.
26+
We've updated the HTML for the Character count component. The component wrapper `data-module="govuk-character-count"` and its form group `class="govuk-form-group"` are now combined as the same `<div>`. The hint text used as the count message now appears directly after the `<textarea>`.
2427

2528
If you're not using Nunjucks macros, then you should:
2629

2730
- move all classes and attributes from the form group `<div>` to the component wrapper `<div>`
2831
- remove the opening `<div>` and closing `</div>` tags used by the form group
2932
- check the count message is now directly after the `<textarea>`
3033

31-
The following example shows some HTML and the difference once it is updated.
34+
The following example shows some HTML and the difference once it’s updated.
3235

3336
HTML before:
3437

@@ -49,24 +52,24 @@ HTML after:
4952
</div>
5053
```
5154

52-
Check your changes against [the character count example in the Design System](https://design-system.service.gov.uk/components/character-count/#character-count-example) to make sure you have correctly implemented them.
55+
Check your changes against [the Character count example in the Design System](https://design-system.service.gov.uk/components/character-count/#character-count-example) to make sure you’ve correctly implemented them.
5356

5457
This change was introduced in [pull request #4566: Use Character count `formGroup` as module wrapper](https://github.com/alphagov/govuk-frontend/pull/4566).
5558

5659
#### Remove redundant `role` attributes from elements
5760

5861
We've made minor changes to the HTML of the page template, as well as the header, footer and pagination components.
5962

60-
You can update your HTML to remove the `role` attribute from some elements. These include:
63+
You can update your HTML to remove the `role` attribute from some elements. These include the:
6164

62-
- the `main` role on the `main` element in the template.
63-
- the `banner` role on the `header` element in the header component.
64-
- the `contentinfo` role on the `footer` element in the footer component.
65-
- the `navigation` role on the `nav` element in the pagination component.
65+
- `main` role on the `main` element in the template
66+
- `banner` role on the `header` element in the Header component
67+
- `contentinfo` role on the `footer` element in the Footer component
68+
- `navigation` role on the `nav` element in the Pagination component
6669

67-
These roles were present to support legacy browsers, such as older versions of Internet Explorer. GOV.UK Frontend no longer supports these browsers, so the roles can now be removed.
70+
These roles were present to support legacy browsers, such as older versions of Internet Explorer. GOV.UK Frontend no longer supports these browsers, so you can now remove these roles.
6871

69-
If you're using the Nunjucks versions of the page template or these components, you don't need to change anything.
72+
You do not need to change anything if you're using the Nunjucks versions of the page template or these components,
7073

7174
This change was introduced in [pull request #4854: Remove redundant `role` attributes](https://github.com/alphagov/govuk-frontend/pull/4854).
7275

dist/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.2.0
1+
5.3.0

dist/govuk-frontend-5.2.0.min.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/govuk-frontend-5.2.0.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/govuk-frontend-5.2.0.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/govuk-frontend-5.2.0.min.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/govuk-frontend-5.3.0.min.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/govuk-frontend-5.3.0.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/govuk-frontend-5.3.0.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/govuk-frontend-5.3.0.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)