Review the different links.
A link with text such as Read more
provides little context on its own. If several links on a page use the same text, screen reader users may find it difficult to tell them apart.
Read more
Read more
<a href="#">
Read more
</a>
aria-labelUsing aria-label adds extra context to the accessible name while leaving the visible text unchanged. This creates a more meaningful and unique link for screen reader users.
While aria-label can provide additional context for screen reader users, it is usually better to make link text descriptive for everyone. For example, Read more about wombats
is generally preferable to a visible Read more
link with an aria-label.
Read more
Read more about wombats
<a href="#" aria-label="Read more about wombats">
Read more
</a>
Links to files such as PDFs should identify the file type and, where practical, the file size. This helps people understand what will happen when they activate the link and decide whether they want to download the file.
Australian Government Annual report (52KB PDF)
Australian Government Annual report (52KB PDF)
<a href="">
Australian Government Annual report (52KB PDF)
</a>
Indicating that a link leads to an external website helps people understand where they are going before activating the link, allowing them to decide whether they want to continue.
This example includes this information directly in the visible text, so every visitor reads the same warning.
Intopia (External link)
Intopia (External link)
<a href="https://intopia.digital/" target="_blank">
Intopia (External link)
</a>
This example conveys it two different ways at once: a visual icon signals it to sighted users, while aria-label provides the equivalent information to screen reader users.
Intopia
Intopia. External link
<a href="https://intopia.digital/" target="_blank"
aria-label="Intopia. External link"
>
Intopia
</a>