DEV Community

Alex MacArthur
Alex MacArthur

Posted on • Originally published at macarthur.me on

You should still look at your site with JavaScript disabled.

Even today, it’s still worth looking at your sites with JavaScript disabled.

Many of them have either a couple of elements that depend on JS to show/hire correctly, or a big chunk of the page rendered as a single-page application.

In either case, the user interface isn’t “ready” after page load until JS has a chance to download, parse, and execute, which means core web vitals like largest contentful paint and cumulative layout shift are at risk. For your users, it means a flash of jank when they visit the page.

Some of the fixes for this are simple (ex: use CSS to hide elements that should be invisible by default), and others might get a little crazier (ex. prerender an embedded SPA into part of a page).

Fortunately, this stuff is easy to diagnose. Disable JavaScript, load the page, and see what’s ugly.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay