ARIA input fields must have an accessible name
How to fix the aria-input-field-name accessibility rule. ARIA.
What this rule checks
Ensure every ARIA input field has an accessible name
Who is affected
A custom input (built with ARIA roles) has no name, so it is announced without any description.
How to fix it
Add aria-label or aria-labelledby pointing at visible label text.
WCAG success criteria
When this rule fails, the page fails:
- 4.1.2 Name, Role, Value (Level A, WCAG 2.0, 2.1, 2.2)
Find it on your own page
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.
More detail
- Deque University’s reference for aria-input-field-name (the makers of axe-core, the engine our scanner uses)
- All fix guides