Accessibility · Middle · Question 3 of 75

What is the difference between aria-labelledby and aria-describedby?

Show the answer

Correct answer: The first sets the name; the second adds a supplementary description

Explanation

The name says what a control is and is always announced. The description adds details such as format hints, and users can configure whether they hear it.

Further reading

Problem with a question

Accessibility · Middle · question 3

Test yourself

Take the Accessibility · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz