Labeling Icon-Only Links

A response to “Accessible SVG Icons” on CSS-Tricks.


Message thread

Barry wrote on

Is there any difference between:
<a href="/" aria-label="Good Label"><svg aria-hidden="true" … ></svg></a>
<a href="/"><svg aria-label="Good Label" role="img" … ></svg></a>

And why not use <title> in this case?

Join the conversation

Have your say on Twitter, or simply share this thread.