-- online Search!

Using Tools to Ensure a Good User Experience (UX)

by kirupa   |   filed under Web FUNdamentals

TL;DR

Lighthouse and webhint automate checks for performance, accessibility, security, best practices, and mobile friendliness, pointing you at problems like a slow resource or a missing accessible name. They supplement testing with real users rather than replacing it, since no score can certify that people can actually complete their tasks.

  • Run Lighthouse through PageSpeed Insights for a public URL, which can add real-user performance data, or open it in Chrome DevTools for the current page.
  • webhint's old online scanner is gone; its user guide covers the command-line setup for checking a website or local files.
  • Zero reported problems from an incomplete run, or from a run that skipped the relevant checks, isn't evidence that those problems are absent.
  • A score of 100 can coexist with a confusing checkout or a keyboard trap, so fix what affects people and test whether they can finish their tasks.

Learn about Lighthouse and webhint, two tools you can use to check your page for potential UX-related issues in categories like a11y, performance, and more!

I think we can all agree that our job as web developers is to deliver a good user experience for our visitors. How do we do that? One approach is to test our sites and apps with real users and incorporate their feedback. That helps us find confusing steps and unmet needs, but it takes time. Automated tools can help us catch some common problems along the way. They supplement that user testing rather than replacing it. Read on!

Onwards!

How Lighthouse and webhint can help

The age-old question of what makes up a good UX! There are bookshelves of books and blogs and tweets and Medium posts dedicated to it, and we certainly won't get to the bottom of all that here. Automated checks can help us investigate parts of the following categories, but no score covers everything a person needs to complete a task:

  • Performance
  • Accessibility
  • Security
  • General Best Practices
  • Mobile Friendliness

For any one person, going through a checklist of items in each category is a daunting task. Lighthouse and webhint can automate some of that work. Here are their sites as they appeared in the original screenshots:

A screenshot of both Lighthouse and webhint in action!

These tools run configured checks and report the results. The report can point us toward a slow resource or a missing accessible name, but it cannot certify the page's complete usability, accessibility, or security. We still need to check real tasks, keyboard use, assistive technology, and recovery from errors. Let's look at how the tools fit into that work.

Using Lighthouse

One way to use Lighthouse is to visit PageSpeed Insights and enter a public page's URL. It includes Lighthouse lab results and, when enough data exists, real-user performance data. Those are different kinds of evidence: a controlled run may not reproduce a problem visitors encounter. The following screenshot is an older report with Performance, Accessibility, Best Practices, and SEO scores; the interface and metrics have changed since then:

You can also open Lighthouse in Chrome DevTools to analyze the current page and choose the available audit settings. Selecting a mobile simulation does not replace trying the app on the actual devices and networks your visitors use. This older screenshot shows the DevTools panel; available categories depend on the Lighthouse version:

Independent of which approach you take, the results give you an at-a-glance view of what you are doing well and what you can fix. For the items to fix, you can dive deeper into each result to get more precise guidance on what you are doing and what you can do to improve.

Using webhint

The online scanner shown below is historical, and its old entry page is no longer available. Use the webhint user guide for its command-line setup and supported configurations. The guide covers checking a website or local files. This June 2021 screenshot shows the former scanner just starting its work, not a completed clean result:

The categories and number of checks depend on the version, configuration, and content being analyzed. Read the individual findings and confirm that the run completed with the intended checks enabled. Zero reported problems from an incomplete run, or a run that skipped the relevant checks, is not evidence that those problems are absent.

Conclusion

Manually repeating the same checks on our pages isn't fun. Lighthouse and webhint can automate some of that work and give us more time to investigate the problems they find. I don't know about you, but I do have it on my bucket list to get straight 100's in Lighthouse across all of the categories. That is a fun goal, but it isn't an acceptance test for the whole experience. A score of 100 can coexist with a confusing checkout or a keyboard trap. Fix the problems that affect people, repeat measurements under comparable conditions, and test whether users can actually complete their tasks.

Before you go, here are a few things you can do:

  1. Ask a question

    Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.

Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.

Your support keeps this site going! 😇

Kirupa's signature!

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright © KIRUPA 2026 //--