progress-value-bounds
Enforce the inequalities required by HTML Living Standard §4.10.14 (the progress element):
value ≤ maxwhen both attributes are present.value ≤ 1when onlyvalueis specified (the implicit maximum).
Authored-but-unparsable attribute values, an out-of-range max (≤ 0), and a negative value are deferred to invalid-attr and skipped here to avoid compounding diagnostics.
❌ Examples of incorrect code for this rule
<progress value="10" max="5">10 of 5</progress> <progress value="1.5">150%</progress>
✅ Examples of correct code for this rule
<progress value="0.5">50%</progress> <progress value="30" max="100">30%</progress>
Interface
{
"progress-value-bounds": boolean
}
Enforce HTML LS inequalities for the progress element (value ≤ max; value ≤ 1 when max is absent).
Default Severity
error