Accessibility · Middle · Question 51 of 75
How do you expose a meaningful inline SVG to assistive tech?
- 1
role="img"with a<title>oraria-label - 2
tabindex="0"with alangattribute on it - 3
aria-hidden="true"with a CSSaltproperty
Show the answer
Correct answer: role="img" with a <title> or aria-label
Explanation
Inline SVGs have no alt. Decorative ones should get aria-hidden="true" so they're skipped.