An empty link has no accessible name. A screen reader may announce only “link,” leaving someone unable to tell where it goes. This commonly happens when a login, profile, cart, or social-media link contains only an icon or image. section 5.4
<a href="/account" aria-label="Login"> #A <svg aria-hidden="true">...</svg> </a>
For an icon-only login link, aria-label supplies the name while the SVG is hidden from assistive technology. section 5.4
<a href="/account"> <svg aria-hidden="true">...</svg> Login #A </a>
Visible “Login” text names the link for everyone. For an image-only link, meaningful alt text can serve the same purpose. section 5.4
