aria-with-no-subject
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 a role or an aria-* sits on an element with no accessibility tree node to describe.
These elements are either never rendered — meta, script, style, title, template —
or they are the document itself. Assistive technology exposes no node for them, so a role
or an aria-* here has nothing to apply to.
If something was meant to be hidden, hide the element that shows it. aria-hidden on the
thing a reader can actually reach is what does that.
Next
- All rules — the other checks this one runs beside.
- Checking your app — how to run it, and what it proves.