-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
misc: tweak unused audits strings (remove -> reduce) #12281
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you can mark this as Fixes #9189
but you might also want to consider #9189 (comment) in case they strike your fancy.
Co-authored-by: Paul Irish <paulirish@users.noreply.github.com>
/** Imperative title of a Lighthouse audit that tells the user to reduce JavaScript that is never evaluated during page load. This is displayed in a list of audit titles that Lighthouse generates. */ | ||
title: 'Reduce unused JavaScript', | ||
/** Description of a Lighthouse audit that tells the user *why* they should reduce JavaScript that is never needed/evaluated by the browser. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation. */ | ||
description: 'Reduce unused JavaScript to reduce bytes consumed by network activity. ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW both of these descriptions become slightly repetitive "Reduce...to reduce...". Maybe the descriptions can be tweaked more
I think "remove" suggests (at least a little bit) that all unused JS/CSS should be removed. While that would be ideal, in practice that really is not possible. Slight change to "reduce" should avoid this.