Logo

What are you looking for?

Get help straight from our team...

Name ARIA input fields descriptively

Accessibility Tips

Name ARIA input fields descriptively

Assign clear accessible names to ARIA input fields to ensure screen readers announce them with meaningful, helpful names.

Last updated on 11 Nov, 2025

***This document provides helpful tips to improve your site's accessibility. While it doesn’t guarantee 100% compliance, it’s a great starting point to make your website more inclusive and user-friendly.***

Identification

ARIA input fields must have accessible names (Rule ID: aria-input-field-name)

 

Applicable Standards

  • WCAG 2.0, 2.1, 2.2 Level A (4.1.2)

  • EN 301 549 (9.4.1.2)

  • Trusted Tester Guidelines

  • Deque Best Practice

 

Impact

Serious level impact affecting:

  • Blind users

  • Deafblind users

  • Users with mobility impairments

 

Proper Implementation

  • Provide accessible names for all ARIA input fields

  • Use aria-label or aria-labelledby attributes

  • Ensure referenced labels exist and contain text

  • Apply to these roles: combobox, listbox, searchbox, slider, spinbutton, textbox

  • Labels must be programmatically associated

 

Examples of Correct Usage

  1. Using aria-label for an Accessible Name:
    The aria-label provides a clear and meaningful name ("Search for products"), making it accessible to screen readers.

Image
  1. Using aria-labelledby to Reference Visible Text:
    The aria-labelledby attribute references the visible label ("Username:"), ensuring the input field is appropriately named.

Image
  1. Using a Placeholder with aria-label:
    The aria-label ("Search for articles") provides a descriptive name, while the placeholder offers additional hints.

Image
  1. Naming a combobox with aria-labelledby:
    The aria-labelledby attribute associates the visible label ("Select Country:") with the combobox, ensuring proper naming.

Image
  1. Providing a Name for a slider:
    The aria-labelledby associates the visible label ("Volume Control:") with the slider, ensuring the control is properly announced.

Image

 

Common Errors to Avoid

  1. Missing Accessible Name:
    Without an aria-label or aria-labelledby, the input field lacks an accessible name, making it unusable for screen reader users.

Image
  1. Using placeholder as the Only Label:
    The placeholder ("Enter your email") is not an accessible name. Screen readers may not always announce placeholders reliably.

Image
  1. Referencing a Non-Existent Label:
    The aria-labelledby references an invalid or non-existent id, leaving the input field unnamed for screen readers.

Image
  1. Non-Descriptive Name:
    The aria-label ("Input field") is too generic and does not provide meaningful context about the field's purpose.

Image
  1. Missing Label for combobox:
    Without an aria-label or aria-labelledby, the combobox lacks a descriptive accessible name, making it inaccessible.

Image

 

Rationale

  • Essential for screen reader identification

  • Provides context for input purpose

  • Enables proper form navigation

  • Ensures input field accessibility

  • Required for meaningful interaction

 

Evaluation Method

  1. Inspect the Code

    • Verify that each ARIA input field:

      • Has a descriptive accessible name using aria-label or aria-labelledby.

      • References a valid and meaningful label.

      • Avoids relying solely on placeholders for labeling.

  2. Test with Assistive Technology

    • Use a screen reader (e.g., NVDA, JAWS, or VoiceOver) to confirm:

      • Input fields are announced with their correct purpose.

      • Labels are associated with the corresponding input fields.

      • Placeholder text is not confused with the accessible name.

 

Evaluation Checklist

Image
Did you find this article helpful?
Previous

Label ARIA meter elements

Next