Add role="button" attribute to links visually styled as buttons (<a class="nhsuk-button" role="button">) and bind a spacebar keydown listener to these elements so that they behave like buttons.
Add optional data-prevent-double-click="true" attribute to buttons to trigger simple "debounce" behaviour to buttons to catch double clicks and prevent double submissions.
Add data-module="nhsuk-button" to buttons in order to trigger the above JS behaviours (it is recommended that you do this)
Allow back-link component to be a button element (PR 838)
:wrench: Fixes
Fix issue with VoiceOver on Safari (iOS and macOS) not announcing a list as a list. This affects some components that have a list with style list-style-type: none, ie those that have a class of nhsuk-list on the <ul>. This fixes the do/don't list and the error summary components. The contents list and pagination components don't seem to be affected.
Fix issue of checkbox label being unintentionally full width of the screen due to ordering of css files (Issue 842)
v6.1.2
6.1.2 - 8 August 2022
:wrench: Fixes
Add missing nhsuk-list--border utility class
Reduce input and textarea error border widths to eliminate text movement / dimension changes when focusing and unfocusing a field with an error (Issue 825), (PR 826).
Add role="button" attribute to links visually styled as buttons (<a class="nhsuk-button" role="button">) and bind a spacebar keydown listener to these elements so that they behave like buttons.
Add optional data-prevent-double-click="true" attribute to buttons to trigger simple "debounce" behaviour to buttons to catch double clicks and prevent double submissions.
Add data-module="nhsuk-button" to buttons in order to trigger the above JS behaviours (it is recommended that you do this)
Allow back-link component to be a button element (PR 838)
:wrench: Fixes
Fix issue with VoiceOver on Safari (iOS and macOS) not announcing a list as a list. This affects some components that have a list with style list-style-type: none, ie those that have a class of nhsuk-list on the <ul>. This fixes the do/don't list and the error summary components. The contents list and pagination components don't seem to be affected.
Fix issue of checkbox label being unintentionally full width of the screen due to ordering of css files (Issue 842)
6.1.2 - 8 August 2022
:wrench: Fixes
Add missing nhsuk-list--border utility class
Reduce input and textarea error border widths to eliminate text movement / dimension changes when focusing and unfocusing a field with an error (Issue 825), (PR 826).
6.1.1 - 13 June 2022
:wrench: Fixes
Remove duplicated width attributes on plus and minus icon SVGs - fixing validation and rendering issues with these icons
:wrench: Maintenance
Refreshed dependencies to make dependabot happy
Commits
cf43748 Merge pull request #852 from nhsuk/update-changelog
914de98 Update the CHANGELOG with the release date for v6.2.0
37930f5 Merge pull request #840 from nhsuk/feature/button-spacebar-behaviour-and-debo...
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps nhsuk-frontend from 6.1.0 to 6.2.0.
Release notes
Sourced from nhsuk-frontend's releases.
Changelog
Sourced from nhsuk-frontend's changelog.
Commits
cf43748
Merge pull request #852 from nhsuk/update-changelog914de98
Update the CHANGELOG with the release date for v6.2.037930f5
Merge pull request #840 from nhsuk/feature/button-spacebar-behaviour-and-debo...87c008a
bump version for releaseac928ca
Update version to 6.2.090519de
Update README.md437e11f
Merge branch 'feature/button-spacebar-behaviour-and-debounce-master' of githu...6566685
linting fixes (Added linting to tests)a32410b
Update CHANGELOG.mda76d341
Revert dev server port to 3000Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show