Skip to catalogue

130

progressive enhancement

The basic action works as HTML. Script makes it better. Script must not be the only way.

What is progressive enhancement?

Progressive enhancement starts with working markup: a form that posts, a link that navigates. JavaScript upgrades that. The opposite is a button that does nothing until a bundle arrives.

Why does progressive enhancement matter when vibe coding?

Models build the happy path entirely in an onClick. No URL, no submit, no failure if the script 404s. Name the baseline.

How do you do progressive enhancement?

Real `<form action>` or `<a href>` first. Enhance with client transitions. If the script fails, the POST still happens.

How do you ask a model for progressive enhancement?

Progressive enhancement for (action). It must work as a real link or form submit without JavaScript. Client script may upgrade it. Do not make a div with only onClick.

What goes wrong with progressive enhancement?

A `<form>` that preventsDefault and then fails the fetch with no error. You removed the baseline and kept the tag.

adjacent