aria-value
This fails the run. Where it is wrong about your code, // ramonda-check-ignore <reason> on the line says so, and the reason is printed on every run.
Reported when an aria-* attribute carries a literal value its specification does not permit.
The name is right, so nothing complains: the browser keeps any attribute you write, and the
value is visible in the inspector. What does not happen is the meaning. aria-hidden="yes"
is not true, so the element stays in the accessibility tree; aria-live="loud" announces
nothing; aria-level="two" gives a heading no level at all.
false is a value and never reported — aria-hidden="false" is the documented way to say
an element is exposed, which is not the same as leaving the attribute off.
Only literals are judged. An attribute whose value is an expression is left alone, and so is one whose type is a label or an id reference, where any string is well formed.
Next
- All rules — the other checks this one runs beside.
- Checking your app — how to run it, and what it proves.