alphagov / govuk_publishing_components

A gem to document and distribute frontend components for GOV.UK applications
https://components.publishing.service.gov.uk
MIT License
65 stars 20 forks source link

Modernizr isn't needed #2240

Open andysellick opened 3 years ago

andysellick commented 3 years ago

We have modernizr in the components gem but it only appears to be used on the admin layout, targeting browsers less than IE9.

We should investigate whether we really need it and whether it can be removed.

It was introduced in this PR: https://github.com/alphagov/govuk_publishing_components/pull/422

andysellick commented 2 years ago

Admin layout isn't used on the public site - only in publishing applications (think just content-publisher and content-data) where users may be stuck using older browsers, so we should probably still support them.