Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8126437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:08:54+00:00 2026-06-06T07:08:54+00:00

Many ARIA demonstration websites use code such as: <label for=name id=label-name>Your Name</label> <input id=name

  • 0

Many ARIA demonstration websites use code such as:

<label for="name" id="label-name">Your Name</label>
<input id="name" aria-labelledby="label-name" type="text">

But what’s the purpose of using aria-labelledby attribute in this case? The input element has already been labeled by the label element which is using for attribute, isn’t it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:08:55+00:00Added an answer on June 6, 2026 at 7:08 am

    There’s some good examples of its use at Mozilla Developer pages. Perhaps the best of their examples is where it’s used to associate a popup menu with the parent menu item – it’s Example 7 in the page:

    <div role="menubar">  
        <div role="menuitem" aria-haspopup="true" id="fileMenu">File</div>  
        <div role="menu" aria-labelledby="fileMenu">  
            <div role="menuitem">Open</div>  
            <div role="menuitem">Save</div>  
           <div role="menuitem">Save as ...</div>  
           ...  
        </div>  
        ...  
    

    ARIA attributes tends to be of greatest use in building Accessible Rich Internet Applications: so long as you’re sticking with standard semantic HTML – using forms with standards labels – you shouldn’t need it at all: so there’s no reason to use it on a LABEL/INPUT pair. But if you’re building “rich UI” from scratch (DIVs and other low level elements with javascript adding interactivity), then it’s essential for letting a screenreader know what the higher-level intent is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

many questions are close, but none answers my problem... How do I use reflection
Many functions in my code use this structure: options = {param1: yes, param2 :
Many banking websites have you select your own security image when creating your account.
Many people recommend that you use the following code in .htaccess for GZip: AddOutputFilterByType
Many websites, including this one, add what are apparently called slugs - descriptive but
many Places in the sample code i have seen 2 different way of @synthesize
Many people use this method to add animation on switching views. When I try
Many different representation of parameters in python such as : urllib2.urlopen(url[, data][, timeout]) urllib2.build_opener([handler,
Many forums and websites display user information on posts or in tables (when you
Many open source projects use a Configuration class and lambda's to clarify configuring a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.