GOV.UK Frontend v4.0.1
Recommended changes
We've recently made some non-breaking changes to GOV.UK Frontend. Implementing these changes will make your service work better.
Remove the tabindex
attribute from the error summary component
If you're not using Nunjucks macros, remove the tabindex
attribute from the error summary's HTML. The component JavaScript now adds and removes this attribute.
This change was introduced in pull request #2491: Prevent error summary from being refocused after it has been initially focused on page load.
Fixes
We’ve made fixes to GOV.UK Frontend in the following pull requests:
- #2475: Tweak whitespace HTML for text input component to improve readability
- #2494: Allow disabling autofocus on error summary
- #2514: Fix accordion heading style while JavaScript is disabled
- #2515: Add explicit width to summary list row with 'no actions' pseudo-element
- #2524: Fix select component renders with grey background in Firefox and Safari