Accessibility · Senior · Question 2 of 75

Which of these roles gets its name from its content?

Show the answer

Correct answer: button, while textbox needs a label from elsewhere

Explanation

Roles such as button and link allow name from content. A textbox can't, because its content is the user's value.

Further reading

Problem with a question

Accessibility · Senior · question 2

Test yourself

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

Take this quiz