GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.01k stars 9.31k forks source link

Rename meta viewport audit #16020

Open tunetheweb opened 1 month ago

tunetheweb commented 1 month ago

FAQ

URL

https://resource-loading.glitch.me/meta-viewport.html

What happened?

It reports this:

Does not have a tag with width or initial-scale

But it DOES have a <meta name="viewport"> tag with width and initial-scale. We changed this in #15394

We should rename this audit to:

Does not have a tag with width and initial-scale >= 1

What did you expect?

It to tell me the problem, not confuses me.

See also: https://stackoverflow.com/questions/78536947/pagespeed-problem-with-initial-scale-does-not-have-a-meta-name-viewport

What have you tried?

No response

How were you running Lighthouse?

PageSpeed Insights

Lighthouse Version

12.0.0.0

Chrome Version

No response

Node Version

No response

OS

No response

Relevant log output

No response

adamraine commented 1 month ago

@tunetheweb how do you feel about "Has a mobile optimized viewport" which better reflects the goal of this audit?

tunetheweb commented 1 month ago

SGTM!