---
title: "How to run Lighthouse programmatically"
publication: "Frontend Focus"
issue: 458
published_at: "2020-09-16"
canonical_url: "https://frontendfoc.us/issues/458"
---

Plus this week's browser, HTML and CSS links.       

#458 — September 16, 2020 

[Web Version](https://frontendfoc.us/issues/458)   

Frontend Focus 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1600261154/kdszj1u4ertfobgy866p.png)](https://readymag.com/designs/readme/)  

[Read Me: An Essay on Reading on the Web](https://readymag.com/designs/readme/) — An expressive, visual, and detailed piece exploring what makes web text readable, the evolution of type on the web, and a series of concluding tips on what you can do to achieve engaging text/layouts. There's something pleasingly both modern and 'early CSS' about the design of this too. 

Tsvetelina Miteva, Vitaly Volk   

[The History of Web Search](https://css-tricks.com/chapter-4-search/) — The fourth entry in Jay Hoffmann’s excellent and comprehensive Web History series, this time looking at the birth of web search (_think WebCrawler, AltaVista, Yahoo!, Google, etc_). 

CSS-Tricks   [![\](https://copm.s3.amazonaws.com/40a28a8f.jpeg)](https://getstream.io/chat/?utm_campaign=2020_09_16_frontend_focus&utm_medium=promoted_newsletter&utm_source=frontend_focus) 

[Over 500M End-Users Depend on Our Scalable Chat & Activity Feed APIs](https://getstream.io/chat/?utm_campaign=2020_09_16_frontend_focus&utm_medium=promoted_newsletter&utm_source=frontend_focus) — Build real-time chat in less time. Rapidly ship in-app messaging with our highly reliable chat infrastructure. 

Stream sponsor   

[An Introduction To Running Lighthouse Programmatically](https://www.smashingmagazine.com/2020/09/introduction-running-lighthouse-programmatically/) — A brief introduction to [Lighthouse](https://developers.google.com/web/tools/lighthouse) (a popular tool for improving the quality of your pages), the advantages of running it programmatically, and a walk through of a basic configuration. 

Katy Bowman   

[Introducing Source Order Viewer in the Microsoft Edge DevTools](https://blogs.windows.com/msedgedev/2020/09/15/source-order-viewer-edge-devtools/) — Edge 86 has introduced a feature that shows the source order of a page. Tap through for some video examples of it in action, and details on how to enable it. 

Microsoft Edge Team   

[Is The Web Getting Slower?](https://www.debugbear.com/blog/is-the-web-getting-slower) — A detailed look at how devices and the web have changed over the past 10 years, and what those changes have meant for web performance. 

DebugBear     

**⚡️ Quick bits:** 

- The latest build of Safari Technology Preview is available now, and [here are the release notes](https://webkit.org/blog/11294/release-notes-for-safari-technology-preview-113/).
- Popular JavaScript date library [Moment.js is 'done'](https://momentjs.com/docs/#/-project-status/) and is now considered a legacy project in maintenance mode.
- Here's an overview of [what you can expect in the 2.2 version of the Web Content Accessibiity Guidelines](https://www.boia.org/blog/latest-public-draft-of-wcag-2.2-features-nine-new-success-criteria-other-updates).   

💻 **Jobs**  

[Frontend Developer at X-Team (Remote)](https://x-team.com/remote-frontend-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=frontend) — Join the most energizing community for developers and work on projects for Riot Games, FOX, Sony, Coinbase, and more. 

X-Team   

[Find Your Next Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-frontendfocus&utm_term=tech&utm_content=grouped&utm_campaign=ad-77580) — Create a profile on Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers. 

Vettery  

➡️ _Looking to share your job listing in Frontend Focus? [More info here](https://booking.cooperpress.com/jobs)_. 

📙 **Tutorials, Articles & Opinion** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/cule8rnof9ozmdjqhiot.jpg)](https://web.dev/css-masking/)  

[How to Use CSS Masking](https://web.dev/css-masking/) — CSS masking gives you the option of using an image as a mask layer. This means that use can use an image, SVG, or a gradient as a mask to create interesting effects in the browser without the need for an image editor. 

Rachel Andrew   

[How CSS Perspective Works](https://css-tricks.com/how-css-perspective-works/) — Amit Sheen explains the concept of perspective in CSS animations, starting with the very basics, working up to a fully animated 3D cube. 

CSS-Tricks   

▶[Navigating Navigation & Keyboard Accessibility](https://www.youtube.com/watch?v=qD7SecF8qWA) — A 12-minute video looking at accessible navigation, achieved via things suchh as semantic HTML, ARIA roles, document structure, and stylized states using `:focus`: as well as the new `:focus-within` styling. 

Una Kravets   

[30 Developer Resources to Diversify Your Skill Set](https://www.shopify.com/partners/blog/developer-resources?utm_source=CPfif&utm_medium=cpm&utm_campaign=become+a+partner+cp&utm_term=blog30dr) — Identify the most important, high-impact developer skills that will help your résumé and business remain relevant. 

Shopify Partners sponsor   

▶[You Really Don't Need All That JavaScript, I Promise](https://www.youtube.com/watch?v=e1L2WgXu2JY) — If you have twenty minutes, you might enjoy this. Stuart, a long time Web standards expert, explains why we shouldn’t rely on JavaScript as much as we do and why we shouldn’t reach for a JS framework as the first, last, and only tool we use. 

Stuart Langridge   

[Giving Users and Developers More Control Over Focus](https://blog.chromium.org/2020/09/giving-users-and-developers-more.html) — Chrome 86 introduces two new features that improve both the user and developer experience when it comes to working with focus. Here’s what you need to know. 

Google   

▶[Web Content Accessibility Guidelines 2.1 and 2.0 Explained](https://www.youtube.com/watch?v=rIebSHUZz_w) — In this 15-minute video Eric provides an overview of the latest accessibility guidelines, their structure, and you can start following them in your work. 

Eric Eggert   

[Proportional Resizing with CSS Variables](https://ishadeed.com/snippet/proportional-resizing-css-variables/) 

Ahmad Shadeed   

[Managing Several Displays with The Multi-Screen Window Placement API](https://web.dev/multi-screen-window-placement/) 

Thomas Steiner   

[How to Detect Fullscreen Mode using CSS](https://www.amitmerchant.com/how-to-detect-fullscreen-mode-using-css/) 

Amit Merchant      

**🗓 Upcoming Events:** 

- [Getting Started with the DOM](https://cfe.dev/events/getting-started-with-the-dom/) (September 18) — Edidiong Asikpo explains the DOM, its tree-like structure, and how to target and manipulate it.
- [Improving Web Animations by Learning from Performance Mistakes](https://gdg.community.dev/events/details/google-gdg-thiruvananthapuram-presents-improving-web-animations-by-learning-from-performance-mistakes/) (September 21) — Rowan Merewood, Developer Advocate for Chrome at Google will deliver a free, personal talk on things discovered trying to build fun animations on the web.
- [Front-End Web Development Foundations](https://www.eventbrite.com/e/virtual-front-end-web-development-foundations-tickets-116059802995) (September 28) — An in-depth, four half-day live online training event that "will give you a foundation of front-end web development".
- **[Frontend Love](https://frontenddeveloperlove.com)** (October 1 - 2) — Online JavaScript conference with over over 20 frontend professionals and authors speaking.
- [ImageReady](https://www.meetup.com/Toronto-Web-Performance-Group/events/273036102/) (October 2) — A free half-day online event featuring talks about modern image formats.   

🔧 **Code, Tools and Resources**  

[No Mouse Days: A Package to Disable The Mouse Cursor](https://github.com/marcysutton/no-mouse-days) — Why would you want this? Well, having a way to compel you to do some keyboard accessibility testing can’t be a bad thing. 

Marcy Sutton   

[BGJar: Free SVG Background Generator](https://bgjar.com/) — This interactive site lets you customize existing backgrounds (dimensions, colors, gradients, shapes) and download the updated file (or grab the SVG or data URI code). 

BGJar   

[Go Keyless with Award-Winning Smart Locks. Protect What’s Important](http://igloohome.co/en-us?utm_source=frontend_focus&utm_medium=email&utm_campaign=brief_link) 

igloohome sponsor   

[glaze: CSS-in-JS Microlibrary for Making Design Systems Approachable with React](https://glaze.js.org/) — Another CSS-in-JS option, this one features utility-first CSS, constraint-based layouts, and a near-zero runtime. 

Kristóf Poduszló   

[Stitches: The Modern Styling Library](https://stitches.dev/) — Another CSS-in-JS solution, this one offering high performance, SSR, theming, critical path CSS, an intuitive API, and lots more. 

Modulz   

[Zoomstock: Free Stock Photos Organized Visually](https://zoomstock.com/) — This is a little different. A free stock photo search engine that shows you related results as you zoom in or out on the page. Pulled in from about a dozen free image sites. 

zoomstock         

A **[Cooperpress](https://cooperpress.com/)** publication — Curated by [Chris Brandrick](https://twitter.com/chrisbrandrick) & [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://frontendfoc.us/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
