Skip to content
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

Upgrade to GOV.UK Frontend V5 #1998

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Upgrade to GOV.UK Frontend V5 #1998

merged 2 commits into from
Sep 23, 2024

Conversation

GDSNewt
Copy link
Contributor

@GDSNewt GDSNewt commented Sep 20, 2024

Components that contain code from GOV.UK Frontend have been moved to a separate file, es6-components.js. This approach is used to prevent Grade X Browsers evaluating JavaScript that isn't supported by adding the type=”module” attribute to the script tag.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Trello

// should be included in a `type="module"` script tag
// which will ensure they are never loaded.

//= require govuk_publishing_components/components/accordion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Character counter, error summary, tabs don't seem to be used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh the audit tool said they were 🤔, i'll take them out

Copy link
Contributor

@lauraghiorghisor-tw lauraghiorghisor-tw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but see comment.

@GDSNewt GDSNewt merged commit 28f49b8 into main Sep 23, 2024
11 checks passed
@GDSNewt GDSNewt deleted the upgrade-GOV.UK-Frontend-V5 branch September 23, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants