Web.dev by Google
web.dev
web.dev
The accessibility audit is garbage as well. Apparently I should add an image to the site just so I can put an alt attribute in it. I should include audio so I could have a transcription to go with it. Not sure whether Lighthouse decided that 16px or 20px is less than 12px but apparently one of them is and makes up over 60% of the page.
I understand this is not made for people who serve static HTML files and handmade CSS from ~/sites/ but I'm pretty sure I hate the kinds of sites this is designed for. Should have a custom splash screen? Respond with 200 when offline? What's next, I get points for breaking the back button too? Why is using HTTPS and redirecting HTTP to it a PWA thing?
I'd hate to see the site that aces this audit.
The skew to web applications rather than websites for tooling has been very disappointin and myopic view of what a 'website' is.
It would make sense if I could give it a root URL and then a robot progressively ran tests over a month and then reported back, but one URL is a drop in a vast ocean for most of us.
(I'm not saying that every application should behave like that. Often the extra work is not worth it. But a public, content-heavy site should behave like that, whether it was single-page app or tradiotionally implemented.)
The reason progressive enhancement has fallen away is because Javascript support is now ubiquitous. Your browser has it. Your screen reader has it. Even web crawlers have it.
WP describes it as
> Progressive enhancement is a strategy for web design that emphasizes core webpage content first. This strategy then progressively adds more nuanced and technically rigorous layers of presentation and features on top of the content as the end-user's browser/internet connection allow. The proposed benefits of this strategy are that it allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth.
It's way, way more than JS.
> They are describing how to correctly write SPAs and other webapps.
In the context of "I have a website, not a web app", and web apps that "don't break the web", i.e. also behave well as web pages. If you are suggesting anyone is building backwards to that from a web app, instead of progressive enhancement, do you know an example?
1. Using history.pushstate to intelligently add to page history for meaningful changes to the page. This ensures pressing "back" in your browser is still reliable.
2. Using server-side rendering on the first render. This keeps SPAs fast while the payload is being transferred.
Regarding Wikipedia's definition, that's a more broad definition than I'm used to seeing (speaking as a web developer). I've always heard it in reference to falling back gracefully from Javascript - usually with a <noscript> tag.
Supporting mobile, weaker networks, accessibility, etc. fall into much larger categories. Many of these topics require their own discussion and best practices.
Those topics are of course still important today (if not even more so).
That's only part of the problem: every day I encounter sites which fail because the developers assumed not just that everyone has JavaScript but that they can load tons of assets reliably and instantaneously. The key part of progressive enhancement is thinking about how to degrade gracefully when everything doesn't work perfectly, which also tends to offer a better experience for anyone who doesn't have a very high-speed near-perfect network connection.
A couple of weeks back, I was using a family member's Spectrum “high-speed” cable modem service at a whopping 5Mbps with latency measured in the hundreds of milliseconds. It really highlighted who was doing progressive enhancement and who was doing “works on my machine” when you saw one page load 90 seconds faster than the other.
And that's still great internet compared to some places. I have a house out in the middle of nowhere that is only served by a single satellite internet provider (surrounded by trees that block the view to other providers' sats). I get 20Mbs at ~500-1000ms latency for a few days before I hit the 20Gb cap, then I get 0.5-1Mbs for the rest of the month. Hacker News is one of the few sites on the web that I can browse relatively painlessly when I'm up here.
Thankfully the tools are getting better for this. The recently supported font-display property is a great one. It allows devs to choose how to handle web font rendering over slower internet connections.
Now I just wish more devs would start to take advantage of all the great performance tools available. Those best practices are unfortunately rarely taught.
My rationale for considering it to be included is that as the concept was developed I took the spirit of progressive enhancement to be doing the best with what your users have rather than only catering to people with the same setup you have.
> Now I just wish more devs would start to take advantage of all the great performance tools available. Those best practices are unfortunately rarely taught.
Agreed. I think one of the challenges has been both showing business value from performance — once you're putting things into a cost/benefit comparison it's a lot easier to get people to routinely consider the performance impact of their decisions.
I think this is the end goal. Building the infrastructure to audit a single page is the first step towards that bigger outcome.
Disclaimer: I write the docs for Lighthouse. I'm speaking from my general knowledge of the project but haven't vetted these comments with my team. So consider all comments my own.
Only thing I changed after this audit was to use http2 on my server.
The only thing that sets apart a normal modern website (https, responsive, cross-browser, Each page has a URL) and a PWA is the ServiceWorker (and a few meta-tags). All the other aspects are more or less soft or minor aspects like "Page transitions don't feel like they block on the network".
This might sound pretty preachy, but in fact, I just want to give a better perspective on what PWAs are, so that they are not getting confused with the average single page JS bloat. Instead, PWA is more like best-practice (e.g. to avoid broken back buttons) paired with some mandatory tools.
[1]: https://developers.google.com/web/progressive-web-apps/check...
I freely admit I have no idea what a PWA actually is, but that page is not helping me understand. All I find are vague descriptions about how they're reliable, fast and engaging, but nothing even approaching a definition. For all I know, a 16-ounce claw hammer is a PWA. It's certainly very reliable, fast and supremely engaging.
If PWA is all about the service worker, why are things like HTTPS, splash pages, 200 offline, or address bar matching brand colors(?!) included in the category? Those things don't make my site any faster or more responsive, and I doubt a service worker would either. Why on earth would I want my site to return 200 offline anyway? I don't wanna lie to a user.
Ok, lemme take a deep breath. I'm sure a PWA does not equal a single-page broken piece of JS monstrosity. I just don't think it's a good idea to give me bright red warning triangles about not having a service worker unless Google believe every site should have a service worker. In that case I disagree with them because I don't think I need a 200 OK if my network interface has caught fire in the middle of browsing.
It's basically a set of techniques and technologies developed in an attempt to produce a user experience similar to that of a native application when using a web application.
In the case of not having a service worker, well, a PWA without services workers doesn't make much sense. This is because service workers are used to cache content to create that 'native' feeling of your application not 404ing when you go through a tunnel.
I think I'm gonna add an explanation for what CTRL+S does instead.
My score was 500: Lighthouse Internal Server Error.
[0] I have a strict Content Security Policy that forbids inline JS and CSS, and am considering using a require-sri-for declaration. https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
> It kind of breaks how CSS is supposed to work.
Can you elaborate on this?
> You easily run the risk of sending redundant bytes if the same styles are still in your external CSS.
I think we're up against 2 less-than-optimal situations. Suppose you have 50KB of CSS.
* Ship it the traditional way. User waits on all 50KB before first paint.
* Ship it the code splitting way. User gets 10KB upfront, and leaves before the rest loads. But if they interact with the site extensively, then they trigger the redundant bytes that you're mentioning, so that the total download size comes out to be 75KB.
Disclaimer: I write the docs for Lighthouse. I'm speaking from my general knowledge of the project but haven't vetted these comments with my team. So consider all comments my own.
It breaks CSS, because having styles on the page couples presentation with content. The selling point of CSS is to change a style in one place, and have it affect multiple pages. If you break it up, you end up having to maintain multiple versions of your CSS. To do this in the name of performance strikes me as one of the very last things to do, given it's unfavorable maintenance cost.
> I think we're up against 2 less-than-optimal situations. Suppose you have 50KB of CSS.
> Ship it the traditional way. User waits on all 50KB before first paint.
Best practice for CSS is to link it in the first kilobyte or so of HTML[2][3]. Browsers have optimized for it: it makes the CSS request happen immediately, before the browser parses the rest of the HTML. Unless the user has a slow connection (<10 Mbps), bad round trip time (>200 ms), or the server is slow to serve a 50K static file (average CSS size[0]), that CSS will load within half a second, with first paint soon after. If you need to cut down that down, you should consider a CDN before deferred CSS.
> Ship it the code splitting way. User gets 10KB upfront, and leaves before the rest loads. But if they interact with the site extensively, then they trigger the redundant bytes that you're mentioning, so that the total download size comes out to be 75KB.
If CSS was split, and the user leaves[1] before the CSS completely loads, CSS isn't the source of slow page loads.
Google's tools need check if styles load within a second or two. If it's any more than 3 or 4 seconds, deferred CSS starts to make sense. If styles (or the entire page) load in less than that, don't bother.
[0] https://httparchive.org/reports/page-weight
[1] https://www.nngroup.com/articles/how-long-do-users-stay-on-w...
[2] https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduc...
https://github.com/GoogleChrome/lighthouse/blob/master/docs/...
I get the general frustration that non-technical teammates look at these reports and say, "we're doing terrible, you need to fix this" when in reality you know that the audits aren't relevant to your business. But it's tough to create an auditing tool for the web at large. There are a lot of businesses that would benefit from PWA features. The general idea was to raise awareness of how PWA features can often improve the UX of many sites. Not all, but many. My takeaway from this discussion is that we need to improve our messaging around the fact that these audits aren't commandments. Some of them may not be relevant to your top priorities. Maybe we could improve the report UI in DevTools and web.dev so that you can flag individual audits as irrelevant. On subsequent runs, those audits would be omitted from your reports. Or maybe we can somehow get more clever about how to present certain audits. E.g. based on Chrome User Experience Report data we identify that service worker usage in your industry is low, and we flag the service worker audit as potentially irrelevant to your needs. That would help solve the problem of non-technical people seeing a low score and assuming that it's a fault with your site, when in reality it's just an irrelevant audit.
Disclaimer: I write the docs for Lighthouse. I'm speaking from my general knowledge of the project but haven't vetted these comments with my team. So consider all comments my own.
I'm one of the engineers working on web.dev and recently we had some issues with the way the report was being generated (detail here: https://medium.com/dev-channel/web-dev-status-update-14th-no...)
Specifically, there were audits flagged as "not applicable" and the alpha version of Lighthouse was instead flagging them as failures. That's why it looked like it was telling you to add audio or images—it was actually saying those audits are not applicable because your site doesn't use audio or images. I think that bug has been fixed in Lighthouse but feel free to reply to this comment if you're still seeing it.
We've also temporarily turned off the PWA audits—they were having some bugs of their own based on the infrastructure they were running on. Based on the feedback in this thread we'll look into making them configurable so folks can choose if they want to run them.
We'll also be opening up the repo shortly so folks can file bugs there directly.
I also find it strange how I can get an A on every other page speed service, including GTMetrix, but get an F on Google's tes(s). Totally useless.
Fixating on the overall score seems like an indication of a different problem.
For example, you can't change the caching behavior of google-analytics.js, and it's usually intractable to split apart your CSS to optimize for above-the-fold content. Oh well, you didn't get a perfect score. Stay practical.
I'd be hard pressed to let stupid things client/managers can do direct how this sort of tool should work. For example, it'd be silly to demand "score inflation" just because your client is unreasonable. Or rather, if a client is making your life hard, I don't think it's the world that needs to change.
What's your solution if your client measures your success by punching their website into https://www.worthofweb.com/calculator/? And doesn't take you seriously enough to listen to you in general?
I'm no lawyer, but I read that as it is not used for tracking users.
(full disclosure: I work at Google, on something unrelated)
Probably to allow for updates and estimate popularity, with low overhead assuming CSS files are small.
> We only [sic] see 1 CSS request per font family, per day, per browser. Google Fonts logs records of the CSS and the font file requests, and access to this data is kept secure.
I read that as what's written there. It's for tracking. Tracking popularity is still tracking.
Tracking usually refers to tracking users, which as I read the FAQ isn't what it's for.
The script request is to a cookiless domain for performance, unlike the ad request, so there's not even much useful information on that request.
(Disclosure: I work at Google, on ads JS, and I previously worked on mod_pagespeed. Not speaking for Google, just myself.)
https://www.google-analytics.com/analytics.js
Google cannot bust this in case of a bug. They can mitigate this by having a loader with built in functionality that always looks out for "is there a newer version" but that has its limitations.
* Faster iteration time for developers: the more often you release updates the faster you can move. If your script has a one week cache lifetime then there's not much point in daily releases and any experiments you run will be really skewed.
* Quicker response to problems: if we push out a bad update that gets past our testing, the TTL we serve it with determines how long that will stick around in browser caches.
(Disclosure: I work at Google, on ads JS, and I previously worked on mod_pagespeed. Not speaking for Google, just myself.)
"Error: 500 from Lighthouse API: Internal Server Error"
Now gmail is slower than most any other website I use regularly. Can't even refresh the inbox in less than three seconds.
I've noticed the same slower by a bit every year pattern with google maps too. I'm afraid to click anything when I have a map open because I know it might trigger a repaint which will cause me to sigh and switch to another tab while it chugs for a few seconds to accomplish this.
I have a vacation auto-responder permanently on on Gmail as well to notify any individuals who hit my old address where my new address is.
edit: Last one because it supports keyboard shortcuts.
Wait, was web.dev built by the Gmail team? I always assumed Google was bigger and more complex than that?
If there's any other decent page speed assistance I'd love to see it.
In fact, it wouldn't be hypocritical even if the authors of web.dev themselves worked on a site that did badly.
It is, after all, a tool. It's not a declaration of superior intellect. It's not an article of condescension. It's a tool.
>Google's web platform team has spent over a decade learning about user needs. Now we want to make it as easy as possible for you to master the defining standards of web development today.
>Fast load times
>Guarantee your site loads quickly to avoid user drop off.
"Loading Gmail"
>Network resilience
>See consistent, reliable performance regardless of network quality.
"Loading..." (in yellow at the top, after clicking a search result. Indefinitely.)
(some other non-quoted parts are OK)
>Accessible to all
>[Build] a site that works for all of your users.
You can see this yourself here: http://mail.google.com/mail/h/ (direct link to html view. you have to already be signed in for this link to work.)
Side note: I'm sure you would have mentioned it, but you don't happen to work at Google on the new Gmail front-end, do you? (Since I could see someone who is, trying to deflect blame for their current bugs by "blaming the back-end".) Just want to make sure...
I dig google and its products but oh wow is this bug frustrating. Hope it’s fixed soon.
Recently I started using the html only version of Gmail because for my user case is faster than the web app.
Good because Lighthouse has some reasonable best practices to follow, and a few good performance timings, so lowering the barriers of entry is nice.
Bad because many of Lighthouses best practices aren't always applicable (our major media customers constantly say "stop telling me a need a #$%ing Service Worker!"). And while Speed Index and Start Render are great, Time-to-interactive, First CPU idle, and estimated keyboard latency are still fairly fluid/poorly defined, and of different value.
This all also overlooks the value that something like the Browser's User Timings provides (Stop trying to figure out what's a "contentful" or "meaningful" paint, and let me just use performance.mark to tell you "my hero image finished and the CTA click handler registered at X"), which Lighthouse doesn't surface up.
What is interesting is the monitoring side. WebPageTest, Lighthouse, Page Speed Insights, YSlow, etc are just point-in-time assessments that is largely commoditized. Tracking this stuff over time and extracting meaningful data is valuable, so that's pretty cool.
Disclaimer: I work in the web performance space. People replace homegrown Lighthouse, puppeteer, or WPT instances with our commercial software, so I'm biased. However I like a lot of the raising awareness and trail blazing about what Performance/UX means that Google is doing.
(ex: "Cache, falling back to network" for CDN'd libraries, "Cache then network" for content like news articles)
This is XMLHttpRequest all over again.
It's tough to create an auditing tool that caters to the web at large. See my other comment in this thread: https://news.ycombinator.com/item?id=18442686
> This all also overlooks the value that something like the Browser's User Timings provides... which Lighthouse doesn't surface up.
Lighthouse does surface up this info in the "User Timing Marks and Measures" audit: https://developers.google.com/web/tools/lighthouse/audits/us...
But I'm getting the impression that you want Lighthouse to surface up this information in a different way. Please feel free to elaborate.
Disclaimer: I write the docs for Lighthouse. I'm speaking from my general knowledge of the project but haven't vetted these comments with my team. So consider all comments my own.
I fed a large news site that is not terrible to use into this, and it gave it 14/100 rating. This news site is perfectly fine, has a good design, good typography and loads without any scripts if you need it to. It loads quite fast.
Among other things, Google recommends - Lazy loading: NOOOO, just load my document. I hate this bullcrap. It never works correctly and then you just get a laggy and slow scrolling site where you have to wait all the time you use it. It's a news site. Just load the whole thing, it takes a couple of ms but then the site is actually usable! It's an actual document you can scroll through.
- Ask the user to install as an app, add offline usage etc? Why even?
- Dynamically compress everything? YES GOOGLE, when saving 8kb per picture, but in the end we need to pull 10mb of javascript libraries from sixty different sources all over the web to even display a text with one small picture ITS ALL WORTH IT
I don't make websites except my personal stuff. I understand you want to present your knowledge and skills. But please, the websites are getting worse and worse. The best way to present almost any information is in a classic html webpage. It wouldn't need to be like this, but almost any modern websdesign approach seemingly leads to slow, laggy and partly unusable websites, that do end up loading something, but often not the thing I actually want to read.
I am actually trained now to feel a sense of relief if I come across a straight html website, just because the user experience is so terrible now thanks to javascript.
As a consumer, I will continue to beg for simple websites that stay true to the idea of displaying a scrollable document with data and text.
Please, only use all these animations, loadings, dynamics, off-site frameworks, custom browser controls and single page documents if you are making a) a portfolio b) an actual application that is mostly simple buttons and does not present significant amounts of text or data
thank you
its bad guys
I've gotten into trouble for saying this before but things like recommending lazy loading is an example of Google imposing their wishes on the web and making it worse in the process.
I just don't understand why they think I will think their site loads faster if they don't actually have any content right when I click on it, rather than the server actually delivering the page with some modicum of content...
I get it, it's a single page webapp. But if you do that you need to make all the simple navigations open new tabs. There is a "open link in new button" icon next to each link, but that's really not good enough.
This is sort of representative of web.dev vs the rest of Google.
Read the rest of the comments, seriously. I would be very discouraged to release this web site when the rest of the company is vehemently opposed to any of the practices listed there.
A horrible excuse of a web site – but perhaps that still makes for a good web app. I couldn't tell and don't know if I'd want to.
* edit for clarification: this includes position on previous page
Check your extensions. It loads fine for me.
> you've let yourselves down badly here.
...because an article on accessibility is "coming soon"?
And yes, the accessibility section coming soon sends the wrong message very subtly but powerfully. It's something we all need to be better at, and when you've got the resources of Google there just isn't any excuse. Those two small words on that missing section quietly absolve us all. Because if Google can't do it right, why should we? It just isn't good enough, so yes, they have let themselves and our community down. I know they're strong words, but someone needed to say it.
Maybe it's a geo thing. Are you in Europe? I see no cookie notice (US).
> I know they're strong words, but someone needed to say it.
Eh, it needs to be there but don't throw the baby out with the bathwater. It's apparently in "beta" and according to this hn thread robdodson is working on it, so odds are the accessibility section will be handled just fine.
Regardless
> Those who preach are held to higher standards
is a bad take. You can criticize a tutorial site without standing on such a flimsy soapbox.
My biggest concern is the support outside of chrome.
While other browsers tend to come on pair with chrome in terms of features , chrome right now is the only one which supports PWA as "native" app..
Windows announced support for PWA natively a while ago [0] but there has been no news since then.
On Apple side it's silence radio...iOS have some support but for Mac it seems unlikely to happen...
[0]https://blogs.windows.com/msedgedev/2018/02/06/welcoming-pro...
I also use the Starbucks PWA (app.starbucks.com) and it mostly works well. Again, it seems to work as well as their native apps.
There have been news since February.
UWP hosted apps got replaced with PWAs, including access to UWP APIs if signed, documentation and tooling support is now available.
https://developer.microsoft.com/en-us/windows/pwa
https://docs.microsoft.com/en-us/microsoft-edge/progressive-...
This is what made me have another look at PWAs, start experimenting with them and starting to see, that for plain CRUD applications PWAs are probably the way to go.
What do you mean with "'native' app" exactly? When I use my PWA with a Firefox on Android I can't see that it is a PWA. It just looks like any other Andoird app.
Granted that is only one more browser and on the desktop side Firefox still has a lot to do, but at least there is one more player in the race ;-)
Error: 403 from Lighthouse API: Forbidden
whenever I try to run the audit on any of my sites hosted on Digital Ocean? They all load normally in my browser...
Anyone else having the same issue?
curl -XPOST \
-H "Accept: */*" \
-H "Connection: keep-alive" \
-H "Accept-Language: en-us" \
-H "Origin: https://web.dev" \
-H "Content-Type: application/json" \
-H "Referer: https://web.dev/measure" \
-H "Host: lighthouse-dot-webdotdevsite.appspot.com" \
-H "User-Agent: Mozilla/5.0 (KHTML, like Gecko) Safari/537.36" \
--data-binary '{"url":"https://www.google.com","replace":true,"save":false}' \
"https://lighthouse-dot-webdotdevsite.appspot.com/lh/newaudit"
{"errors":"Error: 403 from Lighthouse API: Forbidden"}I have a hard time believing this is "for web developers" when most web developers used `.dev` for local development, which was broken because Google decided they wanted to own `.dev` for themselves.
Bad taste in my mouth.
Most web developers were wrong. The reserved TLD for local development has been .localhost since 1999.
Edit: the newer version of the docs have more details (in section 6) on the differences to be expected between test, localhost, example and invalid domains. see: https://tools.ietf.org/html/rfc6761
how's this any different than devs using 123.123.123.123 for test purposes (instead of private network addresses), then getting upset when they found out it has been allocated to China Unicom?
I already have a boilerplate response to "why isn't our google pagespeed score higher" that I copy and paste.
I know Google's happy about performance nagging, but I wish they were better at knowing what is/isn't applicable.
I do agree that some sort of "not all these metrics may be applicable to your architecture, please consult an engineer" would go a long way.
I left a toxic work environment at one point where I was literally yelled at because I was claiming to know our company's situation better than Google's pagespeed tools.
Needless to say, that wasn't the only problem with that job... but it's frustrating.
* https://developers.google.com/speed/
* https://developers.google.com/web/ (including https://developers.google.com/web/tools/lighthouse/)
Ensure users can find your site easily through search.
> Installable
Be on users’ home screens with no need for an app store.
It's nice that they educate devs on the rules they themselves came up with. I just wouldn't call it "how to build a better web" then.
Probably the frontend joke of the last two decades... And a bad one too.
* Performance (exactly same as webhint)
* PWA (exactly same name as webhint)
* Accessibility (exactly same as webhint)
* Best Practices
* SEO
Webhint also has categories Interoperability and Security. Not sure what web.dev uses for those.
> webhint’s development started inside the Microsoft Edge team
...was that before lighthouse started? And was open source and seem viable at the time?
Also this is the same company that brought us AMP and didn't use closing tags on their landing page to "save bandwidth", and tried to push a java -> JavaScript nightmare of a gui toolkit. I don't get why they are trying to push for this unless it's trying to strongarm devs into making more shitty AMP pages.
It does however get 100 on performance (quite rightly) The PWA score is around 50 but most of the complaints are really silly. It almost makes me wonder if the entire category of PWA is silly.
Finally, I checked GOV.UK, the website so lauded here on hacker news as of late. It also got around 58 on PWA - what is the point? If those complaints for PWA actually meant anything, surely they could fit into one of accessibility, best practises, or performance.
I can inform you that games I play take forever to load on slow networks. (Overwatch, Darksouls). Although I guess it's not downloading the game. It's just trying to login to the servers.
Anyone any clue why? Other websites I enter seem to run without a problem.
1)it says that my (black) text doesn't have sufficient contrast against my (white) background. 2)It says that my page could benefit from having more of its resources served by http 2 (more than 100% presumably). 3)It says that links should have a name (this is not supported by html5) 4)It says my (100% valid) robots.txt file is not valid 5)it says my 100% no javascript static webpage which isn't a PWA should return a 200 when offline. Not sure how they think I should do that.
Also, .test is reserved for testing/local forever, so it won't suffer the same fate as .dev.
The website itself doesn't seem to take that too seriously.
For example, it loses scroll position when navigating:
* go there from HN * scroll down a bit * press the Back button in the browser to go back to HN * press the Forward button in the browser to go to the site again * you are now scrolled the very top again, instead of where you scrolled to
Tested in curren Chrome and Firefox on Linux.
Also note how HN doesn't have this problem, it will remember your scroll position so you can continue reading where you left off.
Browsers are smart, they have accessibility built-in. Too clever JavaScriptery destroys it.
I would love to see an example of this. Software-gore.
Doesn't really evoke confidence, if this is a Google initiative. Can someone post a short precis as to what this is about for those of us who cannot visit the URLs?
UPDATE: Apologies - My bad, not Google's fault. I had a local Valet/NGINX redirect for local .dev domains setup for Laravel development projects that was causing the issue.
Oh, and this is definitely a valid Google initiative. Source: Work for Google, am involved in this.
Apologies for that - I will shut down the Valet service and try again.
Although that might only change the default for new installs; you might still need to change it for existing installs. I'm not sure; I've never used Laravel.
From the site: "With actionable guidance and analysis, web.dev helps developers like you learn and apply the web's modern capabilities to your own sites and apps."
It includes a web version of the Lighthouse website measurement tool. It also has guides for various web dev topics.
The topics can be browsed normally, but I think most users will discover topics by the measurement tool showing the user guides to improve their website.
web.dev^2
https://medium.com/dev-channel/web-dev-status-update-11-12-1...
But it will be a nightmare for support teams working at any kind of web service.
As Google doesn't provide support for this tooling and site owners invariably fixate on the scores it provides, product support teams for everything from WordPress themes to CDNs end up fielding support questions that Google should be helping with via resources pitched at the non-technical folks who inevitably use these tools (as well as, you know, help from an actual human support team).
As it stands, support teams will now be inundated with questions unrelated to their product from customers who have no interest or technical background to read the current educational sections of web.dev, and whose time would be better spent crafting landing pages, great content, or reducing the 38 social plugins they're using instead of making all the dials turn green.
I can already foresee the support requests from the web.dev scores:
“Google says my WordPress site isn't installable. Where's the option for that in your theme?”
“Your website says Cloudflare improves load time. But my first meaningful paint time went up by 1.5 seconds after setting it up! I'm going to write bad reviews about you.”
“Google says I need to theme my browser's address bar to match my branding. I added that tag they mention but don't see any change in my browser.”
It's great to build awareness of ways to make the web faster and better, but it needs to be backed with guidance that's pitched at the ability of the people who will be using these automated testing tools.
For example, why not detect the technology behind the site and — for stuff like WordPress — recommend plugins or other tech-specific resources that could help fix problems like lack of image lazy-loading? There are lots of ways education could be enhanced for non-developers.
All audit tools make recommendations that many of us will ignore. I have zero intention of using webp images for example.
I don't think your claim that "nightmares" will happen is warranted. Shiny new site audit tools are fun. Enjoy it, there's no nightmare!
For example, some of what they're calling "SEO" really has nothing to do with SEO. It should be checking: - if the page is crawlable - if there is a valid title tag - if there is a valid meta description tag - if there is a valid canonical tag
But instead, it checks for a valid viewport meta tag? And if the font sizes are legible? I could see that it might be an issue if the site is hiding text on the page, but viewport and font sizes really have nothing to do with SEO.
Weirdly it also points out that my elements have non-unique Ids which is false and the list of failing elements shows that, it looks like they are stopping their search at the colon character, but they should not.
While it is still in beta (like all Google products are) don't take this serious.
Edit: Meaning, if I have already a main region, does adding a skip link to main actually complicate things?
It is happening with Google’s services as well.
See my report here: https://news.ycombinator.com/item?id=18437749
[1] http://vqRN.com
Is all get when I try to test my website.
> Error: 500 from Lighthouse API: Internal Server Error
for those who don't know
The thing is you can easily add "Progressiveness" to your website with Service workers and using open source libraries to add instant on-page navigation without repaint.
The only place I find an SPA is appropriate is anywhere else but e-commerce websites, which is one of the main target of Google's PWA initiative, to build a collective resistance to Amazon, which has one of the highest converting pages.
Your conversion rates will naturally go up when people are able to checkout quickly with minimal cognitive load, this does not mean that a React app is appropriate or feasible, especially when e-commerce businesses that rely on older phones, when smartphones are approaching 1000 USD
It does not look like Angular (which is a J2EE all over again), at least.
Update: I did some research
cd material-components-web-codelabs/mdc-101/complete
grep version package-lock.json |wc -l
943
No. Just no.I mean it's only recently that they've started getting their things together. And arguably their flat design isn't always usable. Now let's talk speed....
I wrote and deleted a pretty vitriolic comment about not trusting google as stewards of anything, people who care about the user (outside of selling data/access to the user millions of times a second), but I couldn't figure out why they would push app manifests (the only interesting part of the actual comment).
[0]: https://web.dev/installable