Progress

Four indicators and, more usefully, the rule for choosing one. Under 300ms show nothing. Up to a second, something quiet and unquantified. Past a second, a real fraction. Past ten, a fraction with a noun attached. An indeterminate bar that pretends to be determinate is the one to avoid, and it is the most commonly shipped.

Run it

1 · Determinate bar

1s to 10s, when you know the fraction

0%

2 · Indeterminate bar

300ms to 1s, or an unknown end. No number, ever

idle

3 · Determinate ring

the same job, where a bar has no room

0%

4 · Steps

over 10s: a fraction with a noun attached

What you paste

/* the bar: a transform, so no frame of it lays out */
.bar i{ transform-origin:left center; transform:scaleX(var(--v,0));
        transition:transform .3s var(--m-ease-standard) }

/* indeterminate: a sliver crossing, and NO aria-valuenow at all */
.bar.indet i{ width:38%; animation:cross 1.5s var(--m-ease-standard) infinite }
@keyframes cross{ from{ transform:translateX(-100%) } to{ transform:translateX(265%) } }

/* the ring: one dashoffset. r=40, so the circumference is 251.3 */
.ring .in{ stroke-dasharray:251.3;
           stroke-dashoffset:calc(251.3 - 251.3 * var(--v,0)) }

/* reduced motion: the fraction stays, the loop is replaced */
@media (prefers-reduced-motion:reduce){
  .bar.indet i{ animation:none; width:100%;
    background:repeating-linear-gradient(135deg, var(--primary) 0 8px,
      color-mix(in oklch, var(--primary) 42%, var(--surface-container)) 8px 16px) }
}

The aria rule in one line. A determinate indicator carries aria-valuenow. An indeterminate one must not have it at all — not set to 0. Zero per cent is a claim; the absence of the attribute is the honest "unknown", and it is what makes a screen reader say "busy" instead of "0 per cent".