
904 articles from web.dev.


Make sure your service worker knows what to do when a partial response is requested.


Learn what code coverage is and discover four common ways to measure it.

Discover how to combine different testing types into a reasonable strategy that matches your project.

Determine what to test, define your test cases, and prioritize.

Let's start with the basics! Exploring the two general testing modes and three common types of test automation.

Determine what you need to test and what you can rule out.

Optimize tags and tag managers for Core Web Vitals.

This post describes the Total Blocking Time (TBT) metric and explains how to measure it

Evaluate the results of different models and prompts with the LLM as a judge technique. Instead of relying on human judgment, model validation is delegated to another LLM.

An overview of three tools and techniques for testing and verifying accessible color contrast of your design.

Using the alt attribute to provide text alternatives for images

Text Fragments let you specify a text snippet in the URL fragment. When navigating to a URL with such a text fragment, the browser can emphasize and/or bring it to the user's attention.

Introduction to the Accessibility Tree


Learn how to soften and give weighting to your animations.

What ending support for Internet Explorer meant for the customers and developers at Maersk.com.

This post describes the common kinds of third-party JavaScript and the performance issues they can cause. It also provides general guidance about how to optimize third-party scripts.



A collection of best practices that Chrome has identified as the biggest opportunities to optimize web performance and improve Core Web Vitals

Find out the ways that spammers can compromise your site.



Introducing Trusted Types: a browser API to prevent DOM-based cross-site scripting in modern web applications.

This post explains the Time to First Byte (TTFB) metric and shows how to measure it.

This post introduces the Time to Interactive (TTI) metric and explains how to measure it

How establish a two-way communication channel between the page and the service worker.

Announcing the UI fund from Chrome, designed to provide grants for people who work on design tools, CSS, and HTML.

Learn about how cookies work and what are first-party and third-party cookies.


What's the difference between a host, site and origin? What is an eTLD+1? This article explains.

Add Baseline to your development linting and packaging tools with browserslist-config-baseline.

Uncompressed images bloat your pages with unnecessary bytes. Run Lighthouse to check for opportunities to improve page load by compressing images.

Lighthouse now supports performance budgets. This feature, LightWallet, can be set up in under five minutes and provides feedvack on the size and quantity of page resources.

How webpack helps with asset caching

Use push notifications to engage users with targeted, timely updates.

Verify ownership then check your site using Search Console.

Use srcset to automatically choose the right image size.

User-centric performance metrics are a critical tool in understanding and improving the experience of your site in a way that benefits real users.

Most browsers and devices have access to the user's geographic location. Learn how to work with the user's location in your site and apps.


About the :user-valid and :user-invalid pseudo-classes and how to use them to improve the user experience of input validation.


How to open a Progressive Web App in an Android app.

Define performance budgets with minimal setup and enforce them as part of your development workflow using bundlesize with Travis CI.

You've done hard work to get fast, now make sure you stay fast by automating performance testing in Travis CI with Lighthouse Bot.

Use the tabindex attribute to explicitly set an element's tab position.

A step-by-step guide to the basics of UX design.

Demonstrate the revenue generated by site improvements while excluding external factors such as marketing campaigns.

How variable fonts work, how typographers implement variable fonts, and how to work with variable fonts in CSS.

Sharing a practical guide to variable fonts, with lots of examples.

You've properly prepared a video file for the web. You've given it correct dimensions and the correct resolution. You've even created separate WebM and MP4 files for different browsers. For anyone to see it, you still need to add it to a web page.

Research shows that web video lead to higher engagement and sales. Even if you haven't added video to your sites yet, it's just a matter of time until you do.

Learn how to make large lists more responsive by implementing virtual scrolling with the Angular Component Dev Kit.

react-window is a library that allows large lists to be rendered efficiently.

Essential metrics for a healthy site

How to measure Web Vitals with your current analytics tool

Learn how to send Web Vitals data to Google Analytics 4 properties and export the data for analysis in BigQuery and Looker Studio.