Accessibility · Senior · Question 3 of 75

What does the screen reader announce for this link?

<a href="/pricing" aria-label="Learn more">Pricing plans for teams</a>
Show the answer

Correct answer: Only "Learn more"; aria-label replaces the inner text

Explanation

aria-label overrides name from content, which is a frequent bug when content is updated. It also fails Label in Name if it doesn't contain the visible text.

Further reading

Problem with a question

Accessibility · Senior · question 3

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