BH-097
Unused CSS is removed.
The requirement
Unused CSS is removed.
Why it matters to users
Styles left over from old templates and removed plugins are downloaded with every page for nothing. On a mid-range phone on a slow network they hold back the content the citizen came for.
How to fix it
Remove the rules nothing matches in the stylesheets listed in this report, after checking with the coverage tool in browser developer tools or PurgeCSS across every template, since the scan reads a sample of pages only. Then scan again.
How we measure it
Style rules of the site's own stylesheets that match nothing on the pages read (over 70% unused flagged, a threshold set by xfix); indicative, as pages not read may use them. Partly measured: we measure what the public pages show of this rule; the rest needs a review.