Accessibility · Middle · Question 5 of 75
What is wrong here?
<div aria-label="Order status">Shipped</div>- 1A
divelement can't contain text and an attribute at the same time - 2
aria-labelon a genericdivwith no role is not reliably exposed - 3
aria-labelmust always be written in upper case to take effect
Show the answer
Correct answer: aria-label on a generic div with no role is not reliably exposed
Explanation
Naming is prohibited on the generic role, so assistive tech may ignore it. Give the element a suitable role or use real text.