Accessibility · Middle · Question 49 of 75

A button shows "Search" but has aria-label="Find products". Why is that a problem?

Show the answer

Correct answer: Voice control users saying "click Search" won't hit it

Explanation

Label in Name requires the accessible name to contain the visible text. Put that text at the start.

Further reading

Problem with a question

Accessibility · Middle · question 49

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