Skip to content

Rule · Accessibility

ARIA input field has no accessible name

a11y/aria-input-field-nameerrorvoid a11yupdated

Why it matters

Custom inputs (combobox, listbox, searchbox, slider, spinbutton, textbox) without a name are announced with no purpose.

How to fix it

Reference a visible label with aria-labelledby, or add aria-label when there is no visible text.

References

void a11y reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.