Controlled means no mirrored state
The bar derives its width and ARIA value directly from props. Only the demo slider needs state. Mirroring value into another state creates synchronization problems.
Validate before clamping
Math.min/Math.max do not repair NaN. First accept only finite numbers, then clamp between zero and one hundred. Use the same result for width, text, and aria-valuenow.
Name the complete track
The track owns role=progressbar and references a unique visible label. The inner fill is decorative. CSS handles transitions, with a reduced-motion override; no interval is needed. Assistive-technology announcement frequency varies, so this is not a promise of automatic announcements on every change.