-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Automatically hide informative audits with score=1 #13054
Comments
We're all leaning towards 1). @paulirish to add more thoughts (re: to renaming some things in renderer) |
given the above, this proposal doesnt make sense to me.
We could do my item 5 instead. Making the score real helps the developer rationalize things a bit more, but.. the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Informative audits have been in this unusual state for the past few years where "passing" must be notApplicable and any result in informative is considered "failing". I just made this mistake in a PR https://github.com/GoogleChrome/lighthouse/pull/13049/files#r707762173 and I know I'm not the first, having caught several in review as it's a very easy mistake to make.
We did this because informative audits do not pass a score to the LHR/report renderer so there's no signal on that end to move them into passed, but I see a few options to handle this better on the core side before an LHR is generated.
notApplicable
property. At the very least, this forces the developer to remember the importance of this boolean in audit impl and do the right thing more often. Also, requirescore: null
.Thoughts?
The text was updated successfully, but these errors were encountered: