Description
Labels or instructions are provided when content requires user input.
Questions & Answers
When to use aria-label vs. aria-labelledby?
When to use the aria-label attribute vs. the aria-labelledby attribute?
- accessibility tree
- accessible name
- aria
- html
- label
Do forms need to have visible labels?
Do my form elements need to have visible labels or is placeholder text good enough?
- form input labels
- form labels
- forms
- labels
- visible labels
What is the difference between legend and label elements?
I'm working on updating my site and have become a little confused about the differences between legend and label elements. Can you explain?
- label
- legend
How do I know if my websites structure is laid out correctly?
My page looks good visually, but I am not sure if its structure is laid out properly or if I used the right elements. How am I supposed to know if I've done things the "right" way?
- best practices
- building content
- html
- page structure
Is there a form element meant to provide instruction?
I know how to add labels to form inputs to 'label' what they are. I am wondering if there is something similar for describing what a field is in more details? I want to there to be little text under a text field but don't...
- best practices
- form
- html
What is an orphaned form label?
When using the Wave Scanner to repair my website I saw the warning "Orphaned Form Label", with the description was “a form label is present but it is not correctly associated with a form control”. What is this?
- form
- html