Accessibility · Middle · Question 4 of 75

Why prefer aria-labelledby pointing at visible text over aria-label?

Show the answer

Correct answer: Visible text stays in sync and is translated with the page

Explanation

aria-label is easy to forget during updates and browser translation tools may skip it. Reusing visible text keeps one source of truth.

Further reading

Problem with a question

Accessibility · Middle · question 4

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